Most of the 1.8 Port.

This commit is contained in:
AlgorithmX2
2015-06-15 19:44:59 -05:00
parent 17465e68e8
commit 38afde724b
824 changed files with 12120 additions and 9158 deletions
@@ -19,11 +19,9 @@
package appeng.container.implementations;
import invtweaks.api.container.ChestContainer;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import invtweaks.api.container.ChestContainer;
import appeng.container.AEBaseContainer;
import appeng.container.slot.SlotNormal;
import appeng.tile.storage.TileSkyChest;
@@ -48,7 +46,7 @@ public class ContainerSkyChest extends AEBaseContainer
}
}
this.chest.openInventory();
this.chest.openInventory(ip.player);
this.bindPlayerInventory( ip, 0, 195 - /* height of player inventory */82 );
}
@@ -57,6 +55,6 @@ public class ContainerSkyChest extends AEBaseContainer
public void onContainerClosed( EntityPlayer par1EntityPlayer )
{
super.onContainerClosed( par1EntityPlayer );
this.chest.closeInventory();
this.chest.closeInventory(par1EntityPlayer);
}
}