diff options
author | md_5 <git@md-5.net> | 2017-05-19 21:00:13 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-05-19 21:00:13 +1000 |
commit | 10043529907a4ba913ebe2712876e4b1911263b8 (patch) | |
tree | 37f3cbb2527d02eac320ed0900bf92a4f3c8407c /nms-patches/PathfinderGoalVillagerFarm.patch | |
parent | 3ecbb59cbb9e20064d04628d26387742705ab9ac (diff) | |
download | craftbukkit-10043529907a4ba913ebe2712876e4b1911263b8.tar craftbukkit-10043529907a4ba913ebe2712876e4b1911263b8.tar.gz craftbukkit-10043529907a4ba913ebe2712876e4b1911263b8.tar.lz craftbukkit-10043529907a4ba913ebe2712876e4b1911263b8.tar.xz craftbukkit-10043529907a4ba913ebe2712876e4b1911263b8.zip |
Update to Minecraft 1.12-pre5
Diffstat (limited to 'nms-patches/PathfinderGoalVillagerFarm.patch')
-rw-r--r-- | nms-patches/PathfinderGoalVillagerFarm.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/PathfinderGoalVillagerFarm.patch b/nms-patches/PathfinderGoalVillagerFarm.patch index 542eba3d..32dc8bd0 100644 --- a/nms-patches/PathfinderGoalVillagerFarm.patch +++ b/nms-patches/PathfinderGoalVillagerFarm.patch @@ -3,7 +3,7 @@ @@ -40,7 +40,11 @@ Block block = iblockdata.getBlock(); - if (this.f == 0 && block instanceof BlockCrops && ((BlockCrops) block).A(iblockdata)) { + if (this.f == 0 && block instanceof BlockCrops && ((BlockCrops) block).z(iblockdata)) { - world.setAir(blockposition, true); + // CraftBukkit start + if (!org.bukkit.craftbukkit.event.CraftEventFactory.callEntityChangeBlockEvent(this.c, blockposition, Blocks.AIR, 0).isCancelled()) { |