Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
Call BlockGrowEvent for Cocoa plants. Fixes BUKKIT-2525
Dieser Commit ist enthalten in:
Ursprung
d74cf36f1c
Commit
6e438ccb32
@ -19,7 +19,7 @@ public class BlockCocoa extends BlockDirectional {
|
|||||||
|
|
||||||
if (i1 < 2) {
|
if (i1 < 2) {
|
||||||
++i1;
|
++i1;
|
||||||
world.setData(i, j, k, i1 << 2 | e(l));
|
org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(world, i, j, k, this.id, i1 << 2 | e(l)); // CraftBukkit
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren