mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-29 23:48:00 +01:00
metadata.getRace().getEfectiveRace(MineLittlePony.getConfig().getEffectivePonyLevel(ignorePony));
This commit is contained in:
parent
9f429415b5
commit
2325bf162d
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ public class PonyConfig implements Exposable {
|
||||||
* Gets the current PonyLevel. That is the level of ponies you would like to see.
|
* 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.
|
* @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();
|
return ignorePony ? PonyLevel.BOTH : getPonyLevel();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -108,7 +108,7 @@ public class Pony {
|
||||||
}
|
}
|
||||||
|
|
||||||
public PonyRace getRace(boolean ignorePony) {
|
public PonyRace getRace(boolean ignorePony) {
|
||||||
return metadata.getRace().getEffectiveRace(MineLittlePony.getConfig().getPonyLevel(ignorePony));
|
return metadata.getRace().getEffectiveRace(MineLittlePony.getConfig().getEffectivePonyLevel(ignorePony));
|
||||||
}
|
}
|
||||||
|
|
||||||
public ResourceLocation getTexture() {
|
public ResourceLocation getTexture() {
|
||||||
|
|
Loading…
Reference in a new issue