1.15 port
This commit is contained in:
@@ -19,8 +19,8 @@
|
||||
package appeng.container.implementations;
|
||||
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import net.minecraft.entity.player.PlayerInventory;
|
||||
import net.minecraft.inventory.IContainerListener;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.items.IItemHandler;
|
||||
@@ -54,7 +54,7 @@ public class ContainerSecurityStation extends ContainerMEMonitorable implements
|
||||
@GuiSync( 0 )
|
||||
public int permissionMode = 0;
|
||||
|
||||
public ContainerSecurityStation( final InventoryPlayer ip, final ITerminalHost monitorable )
|
||||
public ContainerSecurityStation( final PlayerInventory ip, final ITerminalHost monitorable )
|
||||
{
|
||||
super( ip, monitorable, false );
|
||||
|
||||
@@ -70,7 +70,7 @@ public class ContainerSecurityStation extends ContainerMEMonitorable implements
|
||||
this.bindPlayerInventory( ip, 0, 0 );
|
||||
}
|
||||
|
||||
public void toggleSetting( final String value, final EntityPlayer player )
|
||||
public void toggleSetting( final String value, final PlayerEntity player )
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -120,7 +120,7 @@ public class ContainerSecurityStation extends ContainerMEMonitorable implements
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onContainerClosed( final EntityPlayer player )
|
||||
public void onContainerClosed( final PlayerEntity player )
|
||||
{
|
||||
super.onContainerClosed( player );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user