@@ -12,7 +12,7 @@
|
||||
@@ -76,7 +78,7 @@
|
||||
float f = getGrowthSpeed(this, worldserver, blockposition);
|
||||
|
||||
if (random.nextInt((int) (25.0F / f) + 1) == 0) {
|
||||
if (randomsource.nextInt((int) (25.0F / f) + 1) == 0) {
|
||||
- worldserver.setBlock(blockposition, this.getStateForAge(i + 1), 2);
|
||||
+ CraftEventFactory.handleBlockGrowEvent(worldserver, blockposition, this.getStateForAge(i + 1), 2); // CraftBukkit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user