2017-05-01 01:21:20 +02:00
|
|
|
--- a/net/minecraft/server/BlockTallPlant.java
|
|
|
|
+++ b/net/minecraft/server/BlockTallPlant.java
|
2020-06-25 02:00:00 +02:00
|
|
|
@@ -66,6 +66,11 @@
|
|
|
|
}
|
2017-05-01 01:21:20 +02:00
|
|
|
|
2020-06-25 02:00:00 +02:00
|
|
|
protected static void b(World world, BlockPosition blockposition, IBlockData iblockdata, EntityHuman entityhuman) {
|
2018-07-15 02:00:00 +02:00
|
|
|
+ // CraftBukkit start
|
|
|
|
+ if (org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPhysicsEvent(world, blockposition).isCancelled()) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ // CraftBukkit end
|
|
|
|
BlockPropertyDoubleBlockHalf blockpropertydoubleblockhalf = (BlockPropertyDoubleBlockHalf) iblockdata.get(BlockTallPlant.HALF);
|
2020-06-25 02:00:00 +02:00
|
|
|
|
|
|
|
if (blockpropertydoubleblockhalf == BlockPropertyDoubleBlockHalf.UPPER) {
|