Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 20:40:07 +01:00
11 Zeilen
579 B
Diff
11 Zeilen
579 B
Diff
@@ -28,7 +28,8 @@
|
|
|
|
if (i < 3 && random.nextInt(10) == 0) {
|
|
iblockdata = iblockdata.set(BlockNetherWart.AGE, Integer.valueOf(i + 1));
|
|
- world.setTypeAndData(blockposition, iblockdata, 2);
|
|
+ // world.setTypeAndData(blockposition, iblockdata, 2); // CraftBukkit
|
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(world, blockposition.getX(), blockposition.getY(), blockposition.getZ(), this, toLegacyData(iblockdata)); // CraftBukkit
|
|
}
|
|
|
|
super.b(world, blockposition, iblockdata, random);
|