From 327ebb0ac19a39fb5410f6c751e435cbcebd4c70 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 30 Jun 2018 09:15:15 +0200 Subject: [PATCH] Fixed regression in guide message --- src/main/java/cr0s/warpdrive/block/BlockAbstractContainer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/cr0s/warpdrive/block/BlockAbstractContainer.java b/src/main/java/cr0s/warpdrive/block/BlockAbstractContainer.java index f72cbd90..8ca63114 100644 --- a/src/main/java/cr0s/warpdrive/block/BlockAbstractContainer.java +++ b/src/main/java/cr0s/warpdrive/block/BlockAbstractContainer.java @@ -232,7 +232,8 @@ public abstract class BlockAbstractContainer extends BlockContainer implements I if (enumHand != EnumHand.MAIN_HAND) { return true; } - if (ClientCameraHandler.isOverlayEnabled) { + if ( world.isRemote + && ClientCameraHandler.isOverlayEnabled ) { return true; }