Addition to Fix right click behavior for metaitems.
This commit is contained in:
parent
dc984eaacf
commit
8475937153
1 changed files with 2 additions and 2 deletions
|
@ -174,13 +174,13 @@ public abstract class GT_MetaBase_Item extends GT_Generic_Item implements ISpeci
|
|||
for (IItemBehaviour<GT_MetaBase_Item> 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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue