#2761 Fix vacuum chest player inv offset

This commit is contained in:
tterrag1098 committed 2015-09-02 18:32:25 -04:00
1 parent a8d30e7499
commit fa74631759
1 file changed
+9
@@ -1,5 +1,7 @@
package crazypants.enderio.machine.vacuum;
import java.awt.Point;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Slot;
@@ -30,6 +32,13 @@ public class ContainerVacuumChest extends ContainerEnder<TileVacuumChest> {
filterSlot = new FilterSlot(new InventoryFilterUpgrade(getInv()));
addSlotToContainer(filterSlot);
}
@Override
public Point getPlayerInventoryOffset() {
Point p = super.getPlayerInventoryOffset();
p.translate(0, 40);
return p;
}
@Override
public ItemStack transferStackInSlot(EntityPlayer par1EntityPlayer, int par2) {