mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-14 14:45:40 +01:00
12 lines
708 B
Diff
12 lines
708 B
Diff
--- a/net/minecraft/server/BlockReed.java
|
|
+++ b/net/minecraft/server/BlockReed.java
|
|
@@ -33,7 +33,7 @@
|
|
int j = (Integer) iblockdata.get(BlockReed.AGE);
|
|
|
|
if (j == 15) {
|
|
- worldserver.setTypeUpdate(blockposition.up(), this.getBlockData());
|
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(worldserver, blockposition.up(), this.getBlockData()); // CraftBukkit
|
|
worldserver.setTypeAndData(blockposition, (IBlockData) iblockdata.set(BlockReed.AGE, 0), 4);
|
|
} else {
|
|
worldserver.setTypeAndData(blockposition, (IBlockData) iblockdata.set(BlockReed.AGE, j + 1), 4);
|