From 7eab7227cbe67648765a45057ef6292558f5b37c Mon Sep 17 00:00:00 2001 From: Jake Potrebic Date: Wed, 21 Jul 2021 11:18:54 -0700 Subject: [PATCH] Drop unneeded patch (#6240) --- ...e-spam-when-removing-chests-in-water.patch | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 patches/server/Fix-console-spam-when-removing-chests-in-water.patch diff --git a/patches/server/Fix-console-spam-when-removing-chests-in-water.patch b/patches/server/Fix-console-spam-when-removing-chests-in-water.patch deleted file mode 100644 index 4351253a2..000000000 --- a/patches/server/Fix-console-spam-when-removing-chests-in-water.patch +++ /dev/null @@ -1,19 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: HexedHero <6012891+HexedHero@users.noreply.github.com> -Date: Thu, 19 Nov 2020 02:07:10 +0000 -Subject: [PATCH] Fix console spam when removing chests in water - - -diff --git a/src/main/java/net/minecraft/world/level/block/ChestBlock.java b/src/main/java/net/minecraft/world/level/block/ChestBlock.java -index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 ---- a/src/main/java/net/minecraft/world/level/block/ChestBlock.java -+++ b/src/main/java/net/minecraft/world/level/block/ChestBlock.java -@@ -0,0 +0,0 @@ public class ChestBlock extends AbstractChestBlock implements - @Override - public void onRemove(BlockState state, Level world, BlockPos pos, BlockState newState, boolean moved) { - if (!state.is(newState.getBlock())) { -- BlockEntity tileentity = world.getBlockEntity(pos); -+ BlockEntity tileentity = world.getTileEntity(pos, false); // Paper - Don't validate TE - Fix console spam when removing chests in water - - if (tileentity instanceof Container) { - Containers.dropContents(world, pos, (Container) tileentity);