diff --git a/src/main/java/net/minecraftforge/common/util/WorldCapabilityData.java b/src/main/java/net/minecraftforge/common/util/WorldCapabilityData.java index d0a671638..28aafc952 100644 --- a/src/main/java/net/minecraftforge/common/util/WorldCapabilityData.java +++ b/src/main/java/net/minecraftforge/common/util/WorldCapabilityData.java @@ -50,7 +50,7 @@ public class WorldCapabilityData extends WorldSavedData public void setCapabilities(WorldProvider provider, INBTSerializable capabilities) { this.serializable = capabilities; - if (this.capNBT != null) + if (this.capNBT != null && serializable != null) { serializable.deserializeNBT(this.capNBT); this.capNBT = null;