CauldronLevelChangeEvent does not use new level

Dieser Commit ist enthalten in:
md_5 2018-01-08 13:42:41 +11:00
Ursprung a3decfdca9
Commit c3e4382c33

Datei anzeigen

@ -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