diff --git a/paper-server/patches/sources/net/minecraft/world/level/block/FrostedIceBlock.java.patch b/paper-server/patches/sources/net/minecraft/world/level/block/FrostedIceBlock.java.patch index 1ad12aa315df..ce5c319f3a03 100644 --- a/paper-server/patches/sources/net/minecraft/world/level/block/FrostedIceBlock.java.patch +++ b/paper-server/patches/sources/net/minecraft/world/level/block/FrostedIceBlock.java.patch @@ -17,7 +17,7 @@ } } -@@ -60,7 +_,7 @@ +@@ -60,12 +_,17 @@ } } @@ -26,3 +26,13 @@ } private boolean slightlyMelt(BlockState state, Level level, BlockPos pos) { + int ageValue = state.getValue(AGE); + if (ageValue < 3) { ++ // Paper start - FrostedIce BlockFadeEvent ++ if (org.bukkit.craftbukkit.event.CraftEventFactory.callBlockFadeEvent(level, pos, state.setValue(AGE, ageValue + 1)).isCancelled()) { ++ return false; ++ } ++ // Paper end - FrostedIce BlockFadeEvent + level.setBlock(pos, state.setValue(AGE, ageValue + 1), Block.UPDATE_CLIENTS); + return false; + } else {