From e126096c1afb085baa27c96bf4c8ff2d51f2877d Mon Sep 17 00:00:00 2001 From: Progwml6 Date: Sat, 22 Feb 2014 20:45:25 -0500 Subject: [PATCH] use cisien's implementation of fix method isnt needs serverside --- src/main/java/tconstruct/items/Manual.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/java/tconstruct/items/Manual.java b/src/main/java/tconstruct/items/Manual.java index 9dee0763..e35138fb 100644 --- a/src/main/java/tconstruct/items/Manual.java +++ b/src/main/java/tconstruct/items/Manual.java @@ -31,15 +31,13 @@ public class Manual extends CraftingItem } @Override + @SideOnly(Side.CLIENT) public ItemStack onItemRightClick (ItemStack stack, World world, EntityPlayer player) { player.addStat(TAchievements.achievements.get("tconstruct.beginner"), 1); Side side = FMLCommonHandler.instance().getEffectiveSide(); - if (side.isClient()) - { - player.openGui(TConstruct.instance, mantle.client.MProxyClient.manualGuiID, world, 0, 0, 0); - FMLClientHandler.instance().displayGuiScreen(player, new GuiManual(stack, getData(stack))); - } + player.openGui(TConstruct.instance, mantle.client.MProxyClient.manualGuiID, world, 0, 0, 0); + FMLClientHandler.instance().displayGuiScreen(player, new GuiManual(stack, getData(stack))); return stack; }