mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
CauldronLevelChangeEvent does not use new level
By: md_5 <git@md-5.net>
This commit is contained in:
parent
ce71ef0f33
commit
c3ccbeb17d
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