diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftBlockEntityState.java b/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftBlockEntityState.java index 26409a4f52..1584bf8d9f 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftBlockEntityState.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftBlockEntityState.java @@ -82,7 +82,7 @@ public abstract class CraftBlockEntityState extends CraftB } protected boolean isApplicable(TileEntity tileEntity) { - return this.tileEntity.getClass() == tileEntity.getClass(); + return tileEntity != null && this.tileEntity.getClass() == tileEntity.getClass(); } @Override