summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityFallingBlock.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityFallingBlock.patch')
-rw-r--r--nms-patches/EntityFallingBlock.patch10
1 files changed, 9 insertions, 1 deletions
diff --git a/nms-patches/EntityFallingBlock.patch b/nms-patches/EntityFallingBlock.patch
index fd5a6f12..a0ffb880 100644
--- a/nms-patches/EntityFallingBlock.patch
+++ b/nms-patches/EntityFallingBlock.patch
@@ -1,6 +1,6 @@
--- a/net/minecraft/server/EntityFallingBlock.java
+++ b/net/minecraft/server/EntityFallingBlock.java
-@@ -4,6 +4,8 @@
+@@ -4,13 +4,15 @@
import java.util.ArrayList;
import java.util.Iterator;
@@ -9,6 +9,14 @@
public class EntityFallingBlock extends Entity {
private IBlockData block;
+ public int ticksLived;
+ public boolean dropItem = true;
+ private boolean e;
+- private boolean hurtEntities;
++ public boolean hurtEntities; // PAIL: private -> public
+ private int fallHurtMax = 40;
+ private float fallHurtAmount = 2.0F;
+ public NBTTagCompound tileEntityData;
@@ -56,7 +58,7 @@
if (this.ticksLived++ == 0) {