mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-04 08:24:12 +01:00
CauldronLevelChangeEvent does not use new level
This commit is contained in:
parent
a3decfdca9
commit
c3e4382c33
@ -157,7 +157,7 @@
|
|||||||
+ if (event.isCancelled()) {
|
+ if (event.isCancelled()) {
|
||||||
+ return false;
|
+ 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);
|
world.updateAdjacentComparators(blockposition, this);
|
||||||
+ return true;
|
+ return true;
|
||||||
+ // CraftBukkit end
|
+ // CraftBukkit end
|
||||||
|
Loading…
Reference in New Issue
Block a user