One typo, many errors

visibileWires
Astoria 2 years ago
parent e82bbd3b49
commit 87fe0de60a

@ -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");

Loading…
Cancel
Save