diff options
author | RoseGoldIsntGay <yoavkau@gmail.com> | 2022-02-05 19:00:17 +0200 |
---|---|---|
committer | RoseGoldIsntGay <yoavkau@gmail.com> | 2022-02-05 19:00:17 +0200 |
commit | 5e484b169e736408ada925d9cdcea9ac6df7374a (patch) | |
tree | d43c997cf821910a53a918f39ea6b51096a0b485 /src/main/java/rosegoldaddons/features/CropNuker.java | |
parent | 20894963147ef84a7ad7d578191de69a856f6403 (diff) | |
download | RGA-5e484b169e736408ada925d9cdcea9ac6df7374a.tar.gz RGA-5e484b169e736408ada925d9cdcea9ac6df7374a.tar.bz2 RGA-5e484b169e736408ada925d9cdcea9ac6df7374a.zip |
2.7.3
lag fixed (real) and other stuff
Diffstat (limited to 'src/main/java/rosegoldaddons/features/CropNuker.java')
-rw-r--r-- | src/main/java/rosegoldaddons/features/CropNuker.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/rosegoldaddons/features/CropNuker.java b/src/main/java/rosegoldaddons/features/CropNuker.java index 915acae..ab76cc3 100644 --- a/src/main/java/rosegoldaddons/features/CropNuker.java +++ b/src/main/java/rosegoldaddons/features/CropNuker.java @@ -23,7 +23,7 @@ public class CropNuker { @SubscribeEvent public void onTick(TickEvent.PlayerTickEvent event) { - //if(event.phase == TickEvent.Phase.END) return; + if(Main.configFile.farmSpeedIndex == 0 && event.phase == TickEvent.Phase.END) return; if (!Main.nukeCrops || Main.mc.thePlayer == null) { broken.clear(); return; @@ -41,7 +41,7 @@ public class CropNuker { public void onRender(RenderWorldLastEvent event) { if (!Main.nukeCrops) return; if(crop != null) { - RenderUtils.drawBlockBox(crop, new Color(255, 0, 0), true, event.partialTicks); + RenderUtils.drawBlockBox(crop, new Color(255, 0, 0), Main.configFile.lineWidth, event.partialTicks); } } |