From 42c7cca64f118519d2ab5e5641f18b260b5251c8 Mon Sep 17 00:00:00 2001 From: thatsIch Date: Fri, 8 May 2015 23:44:07 +0200 Subject: [PATCH] Simplified bitwise operation --- src/main/java/appeng/util/Platform.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/appeng/util/Platform.java b/src/main/java/appeng/util/Platform.java index eb0497564..ceeb81264 100644 --- a/src/main/java/appeng/util/Platform.java +++ b/src/main/java/appeng/util/Platform.java @@ -364,7 +364,7 @@ public class Platform { if( tile == null && type.getType() == GuiHostType.ITEM ) { - p.openGui( AppEng.instance, type.ordinal() << 4 | ( 0 << 3 ), p.getEntityWorld(), p.inventory.currentItem, 0, 0 ); + p.openGui( AppEng.instance, type.ordinal() << 4, p.getEntityWorld(), p.inventory.currentItem, 0, 0 ); } else if( tile == null || type.getType() == GuiHostType.ITEM ) {