Fixed merge errors
This commit is contained in:
parent
2a7c9ff03c
commit
34abdcd933
2 changed files with 11 additions and 2 deletions
|
@ -23,7 +23,7 @@ import org.lwjgl.opengl.GL11;
|
||||||
import universalelectricity.prefab.TranslationHelper;
|
import universalelectricity.prefab.TranslationHelper;
|
||||||
import universalelectricity.prefab.network.PacketManager;
|
import universalelectricity.prefab.network.PacketManager;
|
||||||
import assemblyline.common.AssemblyLine;
|
import assemblyline.common.AssemblyLine;
|
||||||
import assemblyline.common.machine.armbot.Command;
|
import assemblyline.common.machine.command.Command;
|
||||||
import assemblyline.common.machine.encoder.ContainerEncoder;
|
import assemblyline.common.machine.encoder.ContainerEncoder;
|
||||||
import assemblyline.common.machine.encoder.IInventoryWatcher;
|
import assemblyline.common.machine.encoder.IInventoryWatcher;
|
||||||
import assemblyline.common.machine.encoder.ItemDisk;
|
import assemblyline.common.machine.encoder.ItemDisk;
|
||||||
|
@ -63,6 +63,7 @@ public class GuiEncoder extends GuiContainer implements IInventoryWatcher
|
||||||
super.initGui();
|
super.initGui();
|
||||||
|
|
||||||
this.allowUserInput = true;
|
this.allowUserInput = true;
|
||||||
|
Keyboard.enableRepeatEvents(true);
|
||||||
|
|
||||||
this.containerWidth = (this.width - this.xSize) / 2;
|
this.containerWidth = (this.width - this.xSize) / 2;
|
||||||
this.containerHeight = (this.height - this.ySize) / 2;
|
this.containerHeight = (this.height - this.ySize) / 2;
|
||||||
|
@ -390,6 +391,14 @@ public class GuiEncoder extends GuiContainer implements IInventoryWatcher
|
||||||
this.minCommand = 0;
|
this.minCommand = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onGuiClosed()
|
||||||
|
{
|
||||||
|
super.onGuiClosed();
|
||||||
|
Keyboard.enableRepeatEvents(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void inventoryChanged()
|
public void inventoryChanged()
|
||||||
|
|
|
@ -11,7 +11,7 @@ import net.minecraftforge.common.ForgeDirection;
|
||||||
import net.minecraftforge.common.ISidedInventory;
|
import net.minecraftforge.common.ISidedInventory;
|
||||||
import universalelectricity.prefab.network.IPacketReceiver;
|
import universalelectricity.prefab.network.IPacketReceiver;
|
||||||
import universalelectricity.prefab.tile.TileEntityAdvanced;
|
import universalelectricity.prefab.tile.TileEntityAdvanced;
|
||||||
import assemblyline.common.machine.armbot.Command;
|
import assemblyline.common.machine.command.Command;
|
||||||
|
|
||||||
import com.google.common.io.ByteArrayDataInput;
|
import com.google.common.io.ByteArrayDataInput;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue