summaryrefslogtreecommitdiffstats
path: root/nms-patches/PathfinderGoalRemoveBlock.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/PathfinderGoalRemoveBlock.patch')
-rw-r--r--nms-patches/PathfinderGoalRemoveBlock.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/PathfinderGoalRemoveBlock.patch b/nms-patches/PathfinderGoalRemoveBlock.patch
index b97b1742..7da7e60e 100644
--- a/nms-patches/PathfinderGoalRemoveBlock.patch
+++ b/nms-patches/PathfinderGoalRemoveBlock.patch
@@ -16,7 +16,7 @@
if (this.h > 60) {
+ // CraftBukkit start - Step on eggs
-+ EntityInteractEvent event = new EntityInteractEvent(this.g.getBukkitEntity(), CraftBlock.at(world, blockposition1));
++ EntityInteractEvent event = new EntityInteractEvent(this.entity.getBukkitEntity(), CraftBlock.at(world, blockposition1));
+ world.getServer().getPluginManager().callEvent((EntityInteractEvent) event);
+
+ if (event.isCancelled()) {