From e745ebdc2898e64b6c00fd275c04427647e200e1 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Wed, 23 Nov 2016 16:55:39 +0100 Subject: [PATCH] Made the laser relay work with just right-click Closes #400 --- .../ellpeck/actuallyadditions/mod/blocks/BlockLaserRelay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/BlockLaserRelay.java b/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/BlockLaserRelay.java index 9fe3c2fc7..26843e5f3 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/BlockLaserRelay.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/BlockLaserRelay.java @@ -183,7 +183,7 @@ public class BlockLaserRelay extends BlockContainerBase implements IHudDisplay{ return true; } - else if(relay instanceof TileEntityLaserRelayItemWhitelist && player.isSneaking()){ + else if(relay instanceof TileEntityLaserRelayItemWhitelist){ if(!world.isRemote){ player.openGui(ActuallyAdditions.instance, GuiHandler.GuiTypes.LASER_RELAY_ITEM_WHITELIST.ordinal(), world, pos.getX(), pos.getY(), pos.getZ()); }