1.15 port
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
package appeng.container.implementations;
|
||||
|
||||
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
import net.minecraft.entity.player.PlayerInventory;
|
||||
|
||||
import appeng.container.AEBaseContainer;
|
||||
import appeng.container.slot.SlotRestrictedInput;
|
||||
@@ -31,13 +31,13 @@ public class ContainerChest extends AEBaseContainer
|
||||
|
||||
private final TileChest chest;
|
||||
|
||||
public ContainerChest( final InventoryPlayer ip, final TileChest chest )
|
||||
public ContainerChest( final PlayerInventory ip, final TileChest chest )
|
||||
{
|
||||
super( ip, chest, null );
|
||||
this.chest = chest;
|
||||
|
||||
this.addSlotToContainer( new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.STORAGE_CELLS, this.chest.getInternalInventory(), 1, 80, 37, this
|
||||
.getInventoryPlayer() ) );
|
||||
.getPlayerInventory() ) );
|
||||
|
||||
this.bindPlayerInventory( ip, 0, 166 - /* height of player inventory */82 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user