mirror of
https://github.com/asofold/CompatNoCheatPlus.git
synced 2025-02-21 02:12:24 +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){
|
public ToolProps getToolProps(final ItemStack stack){
|
||||||
if (stack == null) return BlockProperties.noTool;
|
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){
|
public void addExemption(final Player player, final CheckType[] types){
|
||||||
|
Loading…
Reference in New Issue
Block a user