Quick lib fix
This commit is contained in:
parent
08eb8be841
commit
f9681a9942
1 changed files with 5 additions and 0 deletions
|
@ -1437,6 +1437,11 @@ public final class MekanismUtils
|
|||
{
|
||||
ItemStack tool = player.getCurrentEquippedItem();
|
||||
|
||||
if(tool == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if(tool.getItem() instanceof IMekWrench && ((IMekWrench)tool.getItem()).canUseWrench(player, x, y, z))
|
||||
{
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue