Fixed Crash in Portable Cell.

Can no longer pick up Open Portable Cell.
Can no longer insert Portable Cell into itself.
This commit is contained in:
AlgorithmX2
2014-02-01 16:25:15 -06:00
parent fbcee6ca12
commit 58d9939503
2 changed files with 15 additions and 8 deletions
@@ -2,12 +2,13 @@ package appeng.client.gui.implementations;
import net.minecraft.entity.player.InventoryPlayer;
import appeng.api.implementations.guiobjects.IPortableCell;
import appeng.container.implementations.ContainerMEPortableCell;
public class GuiMEPortableCell extends GuiMEMonitorable
{
public GuiMEPortableCell(InventoryPlayer inventoryPlayer, IPortableCell te) {
super( inventoryPlayer, te );
super( inventoryPlayer, te, new ContainerMEPortableCell( inventoryPlayer, null ) );
maxRows = 3;
}