mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-14 20:20:30 +00:00
Fix NBT key name from the previous commit
I'd got it right originally, and then did a find-and-replace to fix the gametests, forgetting that it'd touch here too. Woops.
This commit is contained in:
parent
06322feb69
commit
04fed62dad
@ -200,7 +200,7 @@ public class CableBlockEntity extends BlockEntity {
|
||||
public void load(CompoundTag nbt) {
|
||||
super.load(nbt);
|
||||
// Fallback to the previous (incorrect) key
|
||||
peripheralAccessAllowed = nbt.getBoolean(NBT_PERIPHERAL_ENABLED) || nbt.getBoolean("PeripheralAccess");
|
||||
peripheralAccessAllowed = nbt.getBoolean(NBT_PERIPHERAL_ENABLED) || nbt.getBoolean("PeirpheralAccess");
|
||||
peripheral.read(nbt, "");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user