Paper/nms-patches/BlockGrass.patch

12 lines
559 B
Diff
Raw Normal View History

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/BlockGrass.java
+++ b/net/minecraft/server/BlockGrass.java
2020-08-11 23:00:00 +02:00
@@ -64,7 +64,7 @@
2018-08-26 04:00:00 +02:00
}
2019-12-10 23:00:00 +01:00
if (iblockdata3.canPlace(worldserver, blockposition2)) {
- worldserver.setTypeAndData(blockposition2, iblockdata3, 3);
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(worldserver, blockposition2, iblockdata3, 3); // CraftBukkit
2018-08-26 04:00:00 +02:00
}
}
}