From 8a8fde110c4b811ad85b2d60489a1cde79dccc12 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Sat, 9 Aug 2014 14:09:49 -0500 Subject: [PATCH] Fixed Network tool --- util/Platform.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/Platform.java b/util/Platform.java index f1c91495e..2ab438704 100644 --- a/util/Platform.java +++ b/util/Platform.java @@ -92,6 +92,7 @@ import appeng.core.AELog; import appeng.core.AppEng; import appeng.core.features.AEFeature; import appeng.core.sync.GuiBridge; +import appeng.core.sync.GuiHostType; import appeng.hooks.TickHandler; import appeng.integration.IntegrationType; import appeng.me.GridAccessException; @@ -307,7 +308,7 @@ public class Platform if ( (type.getType().isItem() && tile == null) || type.hasPermissions( tile, x, y, z, side, p ) ) { - if ( tile == null ) + if ( tile == null || type.getType() == GuiHostType.ITEM ) p.openGui( AppEng.instance, type.ordinal() << 4 | (1 << 3), p.getEntityWorld(), x, y, z ); else p.openGui( AppEng.instance, type.ordinal() << 4 | (side.ordinal()), tile.getWorldObj(), x, y, z );