From 0bb99cb622bc1bca1ce4987fc2503121a772180a Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Fri, 5 Oct 2018 15:46:46 +1000 Subject: [PATCH] Don't update snapshot blockstates diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftBlockEntityState.java b/src/main/java/org/bukkit/craftbukkit/block/CraftBlockEntityState.java index d4d9c5fc..f5c6dbd8 100644 --- a/src/main/java/org/bukkit/craftbukkit/block/CraftBlockEntityState.java +++ b/src/main/java/org/bukkit/craftbukkit/block/CraftBlockEntityState.java @@ -131,7 +131,11 @@ public class CraftBlockEntityState extends CraftBlockState TileEntity tile = getTileEntityFromWorld(); if (isApplicable(tile)) { - applyTo(tileEntityClass.cast(tile)); + // Paper start + if (!snapshotDisabled) { + applyTo(tileEntityClass.cast(tile)); + } + // Paper end tile.update(); } } -- 2.19.1