mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Fixed booklet stand sometimes not saving its data
This commit is contained in:
parent
2e312db996
commit
e885808cc1
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ public class BlockBookletStand extends BlockContainerBase implements IActAddItem
|
||||||
//Assign a UUID
|
//Assign a UUID
|
||||||
if(tile.assignedPlayerUUID == null){
|
if(tile.assignedPlayerUUID == null){
|
||||||
tile.assignedPlayerUUID = player.getUniqueID();
|
tile.assignedPlayerUUID = player.getUniqueID();
|
||||||
|
tile.markDirty();
|
||||||
world.markBlockForUpdate(x, y, z);
|
world.markBlockForUpdate(x, y, z);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue