From 2353cd982a0bbc09ceb7164795e0729ec9a3d283 Mon Sep 17 00:00:00 2001 From: Redstone_Dubstep <42962686+RedstoneDubstep@users.noreply.github.com> Date: Thu, 10 Sep 2020 20:54:48 +0200 Subject: [PATCH] Fix tile entities being replaced when not needed. (#7318) --- patches/minecraft/net/minecraft/block/AbstractBlock.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/block/AbstractBlock.java.patch b/patches/minecraft/net/minecraft/block/AbstractBlock.java.patch index c2affa667..1b8251784 100644 --- a/patches/minecraft/net/minecraft/block/AbstractBlock.java.patch +++ b/patches/minecraft/net/minecraft/block/AbstractBlock.java.patch @@ -24,7 +24,7 @@ @Deprecated public void func_196243_a(BlockState p_196243_1_, World p_196243_2_, BlockPos p_196243_3_, BlockState p_196243_4_, boolean p_196243_5_) { - if (this.func_235695_q_() && !p_196243_1_.func_203425_a(p_196243_4_.func_177230_c())) { -+ if (p_196243_1_.hasTileEntity() && (p_196243_1_.func_203425_a(p_196243_4_.func_177230_c()) || !p_196243_4_.hasTileEntity())) { ++ if (p_196243_1_.hasTileEntity() && (!p_196243_1_.func_203425_a(p_196243_4_.func_177230_c()) || !p_196243_4_.hasTileEntity())) { p_196243_2_.func_175713_t(p_196243_3_); }