Fix dimension data not being saved (#4667)
This commit is contained in:
parent
10b8d47b53
commit
4b1b0d83e9
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
||||||
+ for (Entry<Integer, NBTTagCompound> entry : this.field_186348_N.entrySet())
|
+ for (Entry<Integer, NBTTagCompound> entry : this.field_186348_N.entrySet())
|
||||||
{
|
{
|
||||||
- nbttagcompound1.func_74782_a(String.valueOf(((DimensionType)entry.getKey()).func_186068_a()), entry.getValue());
|
- nbttagcompound1.func_74782_a(String.valueOf(((DimensionType)entry.getKey()).func_186068_a()), entry.getValue());
|
||||||
+ if (entry.getValue() != null || entry.getValue().func_82582_d()) continue;
|
+ if (entry.getValue() == null || entry.getValue().func_82582_d()) continue;
|
||||||
+ nbttagcompound1.func_74782_a(String.valueOf(entry.getKey()), entry.getValue());
|
+ nbttagcompound1.func_74782_a(String.valueOf(entry.getKey()), entry.getValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue