mirror of
https://github.com/asofold/CompatNoCheatPlus.git
synced 2024-11-12 10:24:13 +01:00
Don't use getTypeId.
This commit is contained in:
parent
0487003e55
commit
f1e9efc828
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user