1
0
Fork 0
mirror of https://github.com/Sollace/Unicopia.git synced 2025-04-18 17:14:03 +02:00

Fixed crash when opening the settings screen without loading a world

This commit is contained in:
Sollace 2022-10-12 15:45:51 +02:00
parent bfc7c64160
commit c3032ded26

View file

@ -18,6 +18,9 @@ public class MineLPDelegate {
}
public final Race getPlayerPonyRace() {
if (MinecraftClient.getInstance().player == null) {
return Race.HUMAN;
}
return getPlayerPonyRace(MinecraftClient.getInstance().player);
}