Remove deprecated method call

This commit is contained in:
Sollace 2022-12-04 22:46:57 +00:00
parent 8a16a8b501
commit ab08d9a4a6

View file

@ -69,7 +69,7 @@ public class Main extends MineLPDelegate implements ClientModInitializer {
@Override @Override
public Race getPlayerPonyRace(PlayerEntity player) { public Race getPlayerPonyRace(PlayerEntity player) {
switch (MineLittlePony.getInstance().getManager().getPony(player).getRace(false)) { switch (MineLittlePony.getInstance().getManager().getPony(player).getRace()) {
case ALICORN: case ALICORN:
return Race.ALICORN; return Race.ALICORN;
case CHANGELING: case CHANGELING: