2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/world/level/block/BlockReed.java
|
|
|
|
+++ b/net/minecraft/world/level/block/BlockReed.java
|
2021-06-11 07:00:00 +02:00
|
|
|
@@ -57,7 +57,7 @@
|
2018-12-06 00:00:00 +01:00
|
|
|
int j = (Integer) iblockdata.get(BlockReed.AGE);
|
2014-11-25 22:32:16 +01:00
|
|
|
|
2018-07-15 02:00:00 +02:00
|
|
|
if (j == 15) {
|
2019-12-10 23:00:00 +01:00
|
|
|
- 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);
|
2018-07-15 02:00:00 +02:00
|
|
|
} else {
|
2019-12-10 23:00:00 +01:00
|
|
|
worldserver.setTypeAndData(blockposition, (IBlockData) iblockdata.set(BlockReed.AGE, j + 1), 4);
|