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

12 Zeilen
559 B
Diff

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/BlockGrass.java
+++ b/net/minecraft/server/BlockGrass.java
2019-12-10 23:00:00 +01:00
@@ -63,7 +63,7 @@
2018-08-26 04:00:00 +02:00
}
2019-12-10 23:00:00 +01:00
if (iblockdata3.canPlace(worldserver, blockposition2)) {
- worldserver.setTypeAndData(blockposition2, iblockdata3, 3);
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(worldserver, blockposition2, iblockdata3, 3); // CraftBukkit
2018-08-26 04:00:00 +02:00
}
}
}