3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 04:50:05 +01:00
Paper/nms-patches/BlockGrass.patch

12 Zeilen
513 B
Diff

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/BlockGrass.java
+++ b/net/minecraft/server/BlockGrass.java
2018-07-15 02:00:00 +02:00
@@ -51,7 +51,7 @@
}
2018-07-15 02:00:00 +02:00
if (iblockdata2.canPlace(world, blockposition2)) {
- world.setTypeAndData(blockposition2, iblockdata2, 3);
2018-07-15 02:00:00 +02:00
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(world, blockposition2, iblockdata2, 3); // CraftBukkit
}
}
}