@@ -1,11 +1,11 @@
|
||||
--- a/net/minecraft/server/BlockGrass.java
|
||||
+++ b/net/minecraft/server/BlockGrass.java
|
||||
@@ -61,7 +61,7 @@
|
||||
@@ -63,7 +63,7 @@
|
||||
}
|
||||
|
||||
if (iblockdata3.canPlace(world, blockposition2)) {
|
||||
- world.setTypeAndData(blockposition2, iblockdata3, 3);
|
||||
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(world, blockposition2, iblockdata3, 3); // CraftBukkit
|
||||
if (iblockdata3.canPlace(worldserver, blockposition2)) {
|
||||
- worldserver.setTypeAndData(blockposition2, iblockdata3, 3);
|
||||
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(worldserver, blockposition2, iblockdata3, 3); // CraftBukkit
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user