Skip to content

Commit

Permalink
Fixed tile entity saving
Browse files Browse the repository at this point in the history
  • Loading branch information
NichtStudioCode committed Jun 19, 2022
1 parent 4584b9e commit 37cd750
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ class NovaTileEntityState : NovaBlockState {
super.write(buf)
buf.writeUUID(uuid)
buf.writeUUID(ownerUUID)

if (_tileEntity != null)
tileEntity.saveData()

CBF.write(data, buf)
}

Expand Down

0 comments on commit 37cd750

Please sign in to comment.