From c3e4382c33f5b8737f0692d99c6bdc81fee7c09c Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 8 Jan 2018 13:42:41 +1100 Subject: CauldronLevelChangeEvent does not use new level --- nms-patches/BlockCauldron.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nms-patches/BlockCauldron.patch b/nms-patches/BlockCauldron.patch index 4fe2b4b6..4ba652e4 100644 --- a/nms-patches/BlockCauldron.patch +++ b/nms-patches/BlockCauldron.patch @@ -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 -- cgit v1.2.3