Fixes #2544: NetworkTool now returns PASS for shift+right click on parts.

This commit is contained in:
yueh 2016-11-10 11:55:13 +01:00
parent c592f54a77
commit f96f7d82c5
1 changed files with 4 additions and 0 deletions

View File

@ -107,6 +107,10 @@ public class ToolNetworkTool extends AEBaseItem implements IGuiItem, IAEWrench /
{
return EnumActionResult.FAIL;
}
else if( player.isSneaking() )
{
return EnumActionResult.PASS;
}
}
}
else if( te instanceof INetworkToolAgent && !( (INetworkToolAgent) te ).showNetworkInfo( mop ) )