mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-28 07:55:41 +00:00
#2761 Fix vacuum chest player inv offset
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user