diff options
Diffstat (limited to 'nms-patches/BlockCrops.patch')
-rw-r--r-- | nms-patches/BlockCrops.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nms-patches/BlockCrops.patch b/nms-patches/BlockCrops.patch index 385751da..22e562bc 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 -@@ -2,6 +2,8 @@ - +@@ -3,6 +3,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); -@@ -53,7 +55,10 @@ +@@ -54,7 +56,10 @@ float f = a((Block) this, world, blockposition); if (random.nextInt((int) (25.0F / f) + 1) == 0) { @@ -21,7 +21,7 @@ } } } -@@ -68,7 +73,10 @@ +@@ -69,7 +74,10 @@ i = j; } |