PaperMC/nms-patches/BlockGrass.patch

12 lines
541 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
2018-08-26 04:00:00 +02:00
@@ -58,7 +58,7 @@
}
2018-08-26 04:00:00 +02:00
if (iblockdata3.canPlace(world, blockposition2)) {
- world.setTypeAndData(blockposition2, iblockdata3, 3);
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(world, blockposition2, iblockdata3, 3); // CraftBukkit
}
}
}