Fixed booklet stand sometimes not saving its data

This commit is contained in:
Ellpeck 2015-11-26 18:42:03 +01:00
parent 2e312db996
commit e885808cc1

View file

@ -91,6 +91,7 @@ public class BlockBookletStand extends BlockContainerBase implements IActAddItem
//Assign a UUID
if(tile.assignedPlayerUUID == null){
tile.assignedPlayerUUID = player.getUniqueID();
tile.markDirty();
world.markBlockForUpdate(x, y, z);
}
}