Don't use getTypeId.

This commit is contained in:
asofold 2017-12-10 14:44:08 +01:00
parent 0487003e55
commit f1e9efc828
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ public class HookFacadeImpl implements HookFacade, NCPHook {
public ToolProps getToolProps(final ItemStack stack){
if (stack == null) return BlockProperties.noTool;
else return BlockProperties.getToolProps(stack.getTypeId());
else return BlockProperties.getToolProps(stack);
}
public void addExemption(final Player player, final CheckType[] types){