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/BlockSoil.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nms-patches/BlockSoil.patch') diff --git a/nms-patches/BlockSoil.patch b/nms-patches/BlockSoil.patch index c8396b93..35c2fd56 100644 --- a/nms-patches/BlockSoil.patch +++ b/nms-patches/BlockSoil.patch @@ -45,7 +45,7 @@ + return; + } + -+ if (CraftEventFactory.callEntityChangeBlockEvent(entity, blockposition.getX(), blockposition.getY(), blockposition.getZ(), Blocks.DIRT, 0).isCancelled()) { ++ if (CraftEventFactory.callEntityChangeBlockEvent(entity, blockposition, Blocks.DIRT, 0).isCancelled()) { + return; + } + // CraftBukkit end -- cgit v1.2.3