mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-20 05:14:20 +00:00
CauldronLevelChangeEvent does not use new level
This commit is contained in:
parent
a3decfdca9
commit
c3e4382c33
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@
|
|||
+ if (event.isCancelled()) {
|
||||
+ return false;
|
||||
+ }
|
||||
+ world.setTypeAndData(blockposition, iblockdata.set(BlockCauldron.LEVEL, newLevel), 2);
|
||||
+ world.setTypeAndData(blockposition, iblockdata.set(BlockCauldron.LEVEL, event.getNewLevel()), 2);
|
||||
world.updateAdjacentComparators(blockposition, this);
|
||||
+ return true;
|
||||
+ // CraftBukkit end
|
||||
|
|
Loading…
Add table
Reference in a new issue