summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockCrops.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/BlockCrops.patch')
-rw-r--r--nms-patches/BlockCrops.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/nms-patches/BlockCrops.patch b/nms-patches/BlockCrops.patch
index 22e562bc..385751da 100644
--- a/nms-patches/BlockCrops.patch
+++ b/nms-patches/BlockCrops.patch
@@ -1,15 +1,15 @@
--- a/net/minecraft/server/BlockCrops.java
+++ b/net/minecraft/server/BlockCrops.java
-@@ -3,6 +3,8 @@
+@@ -2,6 +2,8 @@
+
import java.util.Random;
- import javax.annotation.Nullable;
+import org.bukkit.craftbukkit.event.CraftEventFactory; // CraftBukkit
+
public class BlockCrops extends BlockPlant implements IBlockFragilePlantElement {
public static final BlockStateInteger AGE = BlockStateInteger.of("age", 0, 7);
-@@ -54,7 +56,10 @@
+@@ -53,7 +55,10 @@
float f = a((Block) this, world, blockposition);
if (random.nextInt((int) (25.0F / f) + 1) == 0) {
@@ -21,7 +21,7 @@
}
}
}
-@@ -69,7 +74,10 @@
+@@ -68,7 +73,10 @@
i = j;
}