mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 23:33:08 +00:00
A few bug fixes, added recipes for Security Desk
This commit is contained in:
1 parent
a18da2ad27
commit
c481180088
16 files changed
+76
-26
No files matched your search
@@ -135,9 +135,9 @@ public class TileComponentSecurity implements ITileComponent
|
||||
owner = nbtTags.getString("owner");
|
||||
}
|
||||
|
||||
if(nbtTags.hasKey("frequency"))
|
||||
if(nbtTags.hasKey("securityFreq"))
|
||||
{
|
||||
frequency = new SecurityFrequency(nbtTags.getCompoundTag("frequency"));
|
||||
frequency = new SecurityFrequency(nbtTags.getCompoundTag("securityFreq"));
|
||||
frequency.valid = false;
|
||||
}
|
||||
}
|
||||
@@ -178,7 +178,7 @@ public class TileComponentSecurity implements ITileComponent
|
||||
{
|
||||
NBTTagCompound frequencyTag = new NBTTagCompound();
|
||||
frequency.write(frequencyTag);
|
||||
nbtTags.setTag("frequency", frequencyTag);
|
||||
nbtTags.setTag("securityFreq", frequencyTag);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user