summaryrefslogtreecommitdiffstats
path: root/nms-patches/ItemChorusFruit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/ItemChorusFruit.patch')
-rw-r--r--nms-patches/ItemChorusFruit.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/ItemChorusFruit.patch b/nms-patches/ItemChorusFruit.patch
index 2e175882..c05c10b5 100644
--- a/nms-patches/ItemChorusFruit.patch
+++ b/nms-patches/ItemChorusFruit.patch
@@ -13,7 +13,7 @@
public ItemChorusFruit(int i, float f) {
@@ -19,6 +25,20 @@
- double d4 = MathHelper.a(entityliving.locY + (double) (entityliving.getRandom().nextInt(16) - 8), 0.0D, (double) (world.Z() - 1));
+ double d4 = MathHelper.a(entityliving.locY + (double) (entityliving.getRandom().nextInt(16) - 8), 0.0D, (double) (world.ab() - 1));
double d5 = entityliving.locZ + (entityliving.getRandom().nextDouble() - 0.5D) * 16.0D;
+ // CraftBukkit start