Skip to content

Commit

Permalink
Update code to compile with BC 4.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
arasium committed Dec 4, 2013
1 parent df2af4f commit 261d84d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion BuildCraft
Submodule BuildCraft updated 168 files
11 changes: 1 addition & 10 deletions additionalpipes/gui/GuiTeleportPipe.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public String getTooltip() {
private final GuiButton[] buttons = new GuiButton[8];

public GuiTeleportPipe(EntityPlayer player, PipeTeleport pipe) {
super(new ContainerTeleportPipe(player, pipe), null);
super(new ContainerTeleportPipe(player, pipe), null, Textures.GUI_TELEPORT);
this.pipe = pipe;
container = (ContainerTeleportPipe) inventorySlots;
xSize = 228;
Expand Down Expand Up @@ -172,15 +172,6 @@ protected void actionPerformed(GuiButton guibutton) {
PacketDispatcher.sendPacketToServer(packet.makePacket());
}

@Override
protected void drawGuiContainerBackgroundLayer(float f, int x, int y) {
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
mc.renderEngine.bindTexture(Textures.GUI_TELEPORT);
int j = (width - xSize) / 2;
int k = (height - ySize) / 2;
drawTexturedModalRect(j, k, 0, 0, xSize, ySize);
}

@Override
protected void initLedgers(IInventory inventory) {
super.initLedgers(inventory);
Expand Down

0 comments on commit 261d84d

Please sign in to comment.