From 2325bf162d4a2570936e42c15864efab44441022 Mon Sep 17 00:00:00 2001 From: Sollace Date: Tue, 1 May 2018 19:33:17 +0200 Subject: [PATCH] metadata.getRace().getEfectiveRace(MineLittlePony.getConfig().getEffectivePonyLevel(ignorePony)); --- src/main/java/com/minelittlepony/PonyConfig.java | 2 +- src/main/java/com/minelittlepony/pony/data/Pony.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/minelittlepony/PonyConfig.java b/src/main/java/com/minelittlepony/PonyConfig.java index 9557ea61..3d0ef93a 100644 --- a/src/main/java/com/minelittlepony/PonyConfig.java +++ b/src/main/java/com/minelittlepony/PonyConfig.java @@ -28,7 +28,7 @@ public class PonyConfig implements Exposable { * Gets the current PonyLevel. That is the level of ponies you would like to see. * @param ignorePony true to ignore whatever value the setting has. */ - public PonyLevel getPonyLevel(boolean ignorePony) { + public PonyLevel getEffectivePonyLevel(boolean ignorePony) { return ignorePony ? PonyLevel.BOTH : getPonyLevel(); } diff --git a/src/main/java/com/minelittlepony/pony/data/Pony.java b/src/main/java/com/minelittlepony/pony/data/Pony.java index 4c038064..270e3d1e 100644 --- a/src/main/java/com/minelittlepony/pony/data/Pony.java +++ b/src/main/java/com/minelittlepony/pony/data/Pony.java @@ -108,7 +108,7 @@ public class Pony { } public PonyRace getRace(boolean ignorePony) { - return metadata.getRace().getEffectiveRace(MineLittlePony.getConfig().getPonyLevel(ignorePony)); + return metadata.getRace().getEffectiveRace(MineLittlePony.getConfig().getEffectivePonyLevel(ignorePony)); } public ResourceLocation getTexture() {