Begin Mantle's update to 1.11. Not everything is 100% completed.

This commit is contained in:
alexbegt committed 2016-11-19 14:23:46 -05:00
1 parent 952778fad6
commit 1ccbee7720
36 files changed
+271 -207

No files matched your search

@@ -127,7 +127,7 @@ public class GuiMultiModule extends GuiContainer { //implements INEIGuiHandler {
}
protected void drawPlayerInventoryName() {
String localizedName = Minecraft.getMinecraft().thePlayer.inventory.getDisplayName().getUnformattedText();
String localizedName = Minecraft.getMinecraft().player.inventory.getDisplayName().getUnformattedText();
this.fontRendererObj.drawString(localizedName, 8, this.ySize - 96 + 2, 0x404040);
}
@@ -222,8 +222,8 @@ public class GuiMultiModule extends GuiContainer { //implements INEIGuiHandler {
// update slot positions
if(slotIn instanceof SlotWrapper) {
slotIn.xDisplayPosition = ((SlotWrapper) slotIn).parent.xDisplayPosition;
slotIn.yDisplayPosition = ((SlotWrapper) slotIn).parent.yDisplayPosition;
slotIn.xPos = ((SlotWrapper) slotIn).parent.xPos;
slotIn.yPos = ((SlotWrapper) slotIn).parent.yPos;
}
super.drawSlot(slotIn);