Fix Paint Brush Error

This commit is contained in:
Kam committed 2025-07-08 15:36:03 -04:00
1 parent 131815ff06
commit 3730046b3c
1 file changed
+7
@@ -146,6 +146,13 @@ public class ItemNpcTool extends Item {
public static boolean isPaintbrush(ItemStack itemStack) {
if(itemStack == null)
return false;
if(itemStack.getItem() == null)
return false;
if(!(itemStack.getItem() instanceof ItemNpcTool))
return false;
return itemStack.getItemDamage() == 1;
}