mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-05-11 11:54:11 +00:00
Fix turtle owner not being persisted
This commit is contained in:
parent
41cce78fcb
commit
0a50676884
@ -343,7 +343,7 @@ public class TurtleBrain implements ITurtleAccess
|
|||||||
nbttagcompound.setTag( "owner", owner );
|
nbttagcompound.setTag( "owner", owner );
|
||||||
|
|
||||||
owner.setLong( "upper_id", m_owningPlayer.getId().getMostSignificantBits() );
|
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() );
|
owner.setString( "name", m_owningPlayer.getName() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user