From 847593715382a83168daa777baf1983ccf8451dd Mon Sep 17 00:00:00 2001 From: Exidex Date: Sun, 2 Apr 2017 01:54:12 +0200 Subject: [PATCH] Addition to Fix right click behavior for metaitems. --- src/main/java/gregtech/api/items/GT_MetaBase_Item.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/gregtech/api/items/GT_MetaBase_Item.java b/src/main/java/gregtech/api/items/GT_MetaBase_Item.java index eb5107d7..93f17e25 100644 --- a/src/main/java/gregtech/api/items/GT_MetaBase_Item.java +++ b/src/main/java/gregtech/api/items/GT_MetaBase_Item.java @@ -174,13 +174,13 @@ public abstract class GT_MetaBase_Item extends GT_Generic_Item implements ISpeci for (IItemBehaviour tBehavior : tList) { if (tBehavior.onItemUseFirst(this, aStack, aPlayer, aWorld, pos, side, hitX, hitY, hitZ, hand)) { if (aStack.stackSize <= 0) aPlayer.setHeldItem(hand, null); - return EnumActionResult.PASS; + return EnumActionResult.SUCCESS; } } } if (aStack.stackSize <= 0) { aPlayer.setHeldItem(hand, null); - return EnumActionResult.PASS; + return EnumActionResult.SUCCESS; } return EnumActionResult.PASS; }