aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/rosegoldaddons/features/CropNuker.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/rosegoldaddons/features/CropNuker.java')
-rw-r--r--src/main/java/rosegoldaddons/features/CropNuker.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/rosegoldaddons/features/CropNuker.java b/src/main/java/rosegoldaddons/features/CropNuker.java
index ab76cc3..44469bd 100644
--- a/src/main/java/rosegoldaddons/features/CropNuker.java
+++ b/src/main/java/rosegoldaddons/features/CropNuker.java
@@ -28,6 +28,9 @@ public class CropNuker {
broken.clear();
return;
}
+ if(broken.size() > 40) {
+ broken.clear();
+ }
crop = closestCrop();
if (crop != null) {
Main.mc.thePlayer.sendQueue.addToSendQueue(new C07PacketPlayerDigging(C07PacketPlayerDigging.Action.START_DESTROY_BLOCK, crop, EnumFacing.DOWN));