1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-09-28 15:08:47 +00:00

Fix turtle owner not being persisted

This commit is contained in:
SquidDev 2018-02-10 16:10:16 +00:00
parent 41cce78fcb
commit 0a50676884

View File

@ -343,7 +343,7 @@ public class TurtleBrain implements ITurtleAccess
nbttagcompound.setTag( "owner", owner );
owner.setLong( "upper_id", m_owningPlayer.getId().getMostSignificantBits() );
owner.setLong( "upper_id", m_owningPlayer.getId().getLeastSignificantBits() );
owner.setLong( "lower_id", m_owningPlayer.getId().getLeastSignificantBits() );
owner.setString( "name", m_owningPlayer.getName() );
}