diff --git a/src/main/java/com/minelittlepony/PonyConfig.java b/src/main/java/com/minelittlepony/PonyConfig.java index b4f969d4..61dcf566 100644 --- a/src/main/java/com/minelittlepony/PonyConfig.java +++ b/src/main/java/com/minelittlepony/PonyConfig.java @@ -20,12 +20,14 @@ public class PonyConfig extends SensibleConfig implements Exposable { @Expose public boolean snuzzles = true; @Expose public boolean hd = true; @Expose public boolean showscale = true; + @Expose public boolean fpsmagic = true; public enum PonySettings implements Setting { SIZES, SNUZZLES, HD, - SHOWSCALE; + SHOWSCALE, + FPSMAGIC; } @Expose public boolean villagers = true; diff --git a/src/main/java/com/minelittlepony/render/LevitatingItemRenderer.java b/src/main/java/com/minelittlepony/render/LevitatingItemRenderer.java index 5a2d8f64..0f6ea67d 100644 --- a/src/main/java/com/minelittlepony/render/LevitatingItemRenderer.java +++ b/src/main/java/com/minelittlepony/render/LevitatingItemRenderer.java @@ -68,7 +68,7 @@ public class LevitatingItemRenderer { pushMatrix(); - boolean doMagic = pony.getMetadata().hasMagic(); + boolean doMagic = MineLittlePony.getConfig().fpsmagic && pony.getMetadata().hasMagic(); if (doMagic) { setupPerspective(entity, stack, left); diff --git a/src/main/resources/assets/minelittlepony/lang/en_us.lang b/src/main/resources/assets/minelittlepony/lang/en_us.lang index cd6be664..696d2cbb 100644 --- a/src/main/resources/assets/minelittlepony/lang/en_us.lang +++ b/src/main/resources/assets/minelittlepony/lang/en_us.lang @@ -8,6 +8,7 @@ minelp.options.hd=Enable MineLP skin server minelp.options.sizes=Allow all different sizes of pony minelp.options.snuzzles=Display snuzzles on ponies minelp.options.showscale=Use show-accurate scaling +minelp.options.fpsmagic=Ponies use magic in first-person minelp.mobs.title=Mob Settings minelp.mobs.villagers=Ponify villagers