From 87fe0de60ae87f6dff148c135c48027bea4abe57 Mon Sep 17 00:00:00 2001 From: Astoria Date: Sat, 1 Apr 2023 11:45:06 -0500 Subject: [PATCH] One typo, many errors --- .../brokenmoon/afloydwiremod/api/AbstractWireTileEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/brokenmoon/afloydwiremod/api/AbstractWireTileEntity.java b/src/main/java/net/brokenmoon/afloydwiremod/api/AbstractWireTileEntity.java index b6d4223..6c06070 100644 --- a/src/main/java/net/brokenmoon/afloydwiremod/api/AbstractWireTileEntity.java +++ b/src/main/java/net/brokenmoon/afloydwiremod/api/AbstractWireTileEntity.java @@ -20,7 +20,7 @@ public abstract class AbstractWireTileEntity extends TileEntity { public void readFromNBT(NBTTagCompound nbttagcompound) { super.readFromNBT(nbttagcompound); this.initialized = nbttagcompound.getBoolean("init"); - this.initialized = nbttagcompound.getBoolean("set"); + this.hasSettings = nbttagcompound.getBoolean("set"); if(nbttagcompound.getBoolean("inputExists")){ this.inputs = new WiringButton[nbttagcompound.getInteger("inputLength")]; NBTTagList nbttaglistInputs = nbttagcompound.getTagList("Inputs");