1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-12 11:10:29 +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 final class WiredModemLocalPeripheral
public void writeNBT( @Nonnull NBTTagCompound tag, @Nonnull String suffix ) 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 ); if( type != null ) tag.setString( NBT_PERIPHERAL_TYPE + suffix, type );
} }