From d7c257e120996eab1eab7d2bc5a31749ccbe274a Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 8 Jul 2016 11:12:40 +1000 Subject: SPIGOT-2490: Villager farming event --- nms-patches/EntityPotion.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nms-patches/EntityPotion.patch') diff --git a/nms-patches/EntityPotion.patch b/nms-patches/EntityPotion.patch index b6831b1a..ef720315 100644 --- a/nms-patches/EntityPotion.patch +++ b/nms-patches/EntityPotion.patch @@ -128,7 +128,7 @@ private void a(BlockPosition blockposition) { if (this.world.getType(blockposition).getBlock() == Blocks.FIRE) { -+ if (org.bukkit.craftbukkit.event.CraftEventFactory.callEntityChangeBlockEvent(this, blockposition.getX(), blockposition.getY(), blockposition.getZ(), Blocks.AIR, 0).isCancelled()) return; // CraftBukkit ++ if (org.bukkit.craftbukkit.event.CraftEventFactory.callEntityChangeBlockEvent(this, blockposition, Blocks.AIR, 0).isCancelled()) return; // CraftBukkit this.world.setTypeAndData(blockposition, Blocks.AIR.getBlockData(), 2); } -- cgit v1.2.3