--- a/net/minecraft/world/storage/WorldInfo.java +++ b/net/minecraft/world/storage/WorldInfo.java @@ -362,6 +362,7 @@ CompoundNBT compoundnbt1 = new CompoundNBT(); for(Entry entry : this.field_186348_N.entrySet()) { + if (entry.getValue() == null || entry.getValue().isEmpty()) continue; compoundnbt1.func_218657_a(String.valueOf(entry.getKey().func_186068_a()), entry.getValue()); }