This commit is contained in:
gnembon committed 2020-05-20 10:31:06 -03:00
1 parent abd5f178be
commit b51078e427
5 files changed
+20 -20

No files matched your search

@@ -107,7 +107,7 @@ public abstract class WorldChunk_movableTEMixin implements WorldChunkInterface
if (!this.world.isClient)
{
if (!(oldBlock instanceof PistonExtensionBlock))//this is a movableTE special case, if condition wasn't there it would remove the blockentity that was carried for some reason
oldBlockState.onBlockRemoved(this.world, blockPos_1, newBlockState, boolean_1);//this kills it
oldBlockState.onStateReplaced(this.world, blockPos_1, newBlockState, boolean_1);//this kills it
}
else if (oldBlock != newBlock && oldBlock instanceof BlockEntityProvider)
{