Fixed Bug: #0839 - Wireless terminal activate after Crafting Plan window

This commit is contained in:
AlgorithmX2
2014-08-08 21:18:54 -05:00
parent bbad15d2e8
commit 596b3818e3
2 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -308,9 +308,9 @@ public class Platform
if ( (type.getType().isItem() && tile == null) || type.hasPermissions( tile, x, y, z, side, p ) )
{
if ( tile == null )
p.openGui( AppEng.instance, type.ordinal() << 3, p.getEntityWorld(), x, y, z );
p.openGui( AppEng.instance, type.ordinal() << 4 | (1 << 3), p.getEntityWorld(), x, y, z );
else
p.openGui( AppEng.instance, type.ordinal() << 3 | (side.ordinal()), tile.getWorldObj(), x, y, z );
p.openGui( AppEng.instance, type.ordinal() << 4 | (side.ordinal()), tile.getWorldObj(), x, y, z );
}
}