Fix Travel Auth container slot positions

This commit is contained in:
tterrag1098 committed 2015-08-30 00:42:39 -04:00
1 parent e5fae4c633
commit 712e1262ce
2 files changed
+10 -1

No files matched your search

@@ -297,7 +297,7 @@ public class GuiPowerMonitor extends GuiContainerBase {
private void renderInfoTab(int sx, int sy) {
if (!isRedstoneMode) {
GL11.glDisable(GL11.GL_LIGHTING);
GL11.glEnable(GL11.GL_BLEND);
IconEIO.map.render(IconEIO.ACTIVE_TAB, sx + 200, sy + SPACING, true);
int headingCol = ColorUtil.getRGB(Color.white);
@@ -1,5 +1,7 @@
package crazypants.enderio.teleport;
import java.awt.Point;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.item.ItemStack;
@@ -99,6 +101,13 @@ public class ContainerTravelAuth extends ContainerEnder<AuthInventory> {
x += 18;
}
}
@Override
public Point getPlayerInventoryOffset() {
Point p = super.getPlayerInventoryOffset();
p.translate(0, -1);
return p;
}
@Override
public ItemStack transferStackInSlot(EntityPlayer par1EntityPlayer, int par2) {