mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 10:47:30 +00:00
Fix Paintbrush Crash
This commit is contained in:
1 parent
a11b92ae09
commit
0e05220dff
1 file changed
+2
@@ -144,6 +144,8 @@ public class ItemNpcTool extends Item {
|
||||
}
|
||||
|
||||
public static boolean isPaintbrush(ItemStack itemStack) {
|
||||
if(itemStack == null)
|
||||
return false;
|
||||
return itemStack.getItemDamage() == 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user