1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-25 06:33:23 +00:00

You didn't see nothing

This commit is contained in:
SquidDev 2019-04-15 18:33:59 +01:00
parent 48ba247ab4
commit 5a8a111857

View File

@ -118,7 +118,7 @@ public Map<String, IPeripheral> toMap()
public void writeNBT( @Nonnull NBTTagCompound tag, @Nonnull String suffix )
{
if( id >= 0 ) tag.setInteger( NBT_PERIPHERAL_TYPE + suffix, id );
if( id >= 0 ) tag.setInteger( NBT_PERIPHERAL_ID + suffix, id );
if( type != null ) tag.setString( NBT_PERIPHERAL_TYPE + suffix, type );
}