Fixed Clouds sometimes not saving their names.

This commit is contained in:
Ellpeck 2015-08-27 16:54:28 +02:00
parent e934a812bd
commit 61fa66d1e6

View file

@ -26,6 +26,7 @@ public class TileEntitySmileyCloud extends TileEntityBase implements IPacketSync
if(!Objects.equals(this.name, this.nameBefore)){ if(!Objects.equals(this.name, this.nameBefore)){
this.nameBefore = this.name; this.nameBefore = this.name;
this.sendUpdate(); this.sendUpdate();
this.markDirty();
} }
} }
} }