Code:
public boolean isPotion(int itemId) {
String name = c.getItems().getItemName(itemId);
return name.contains("(4)") || name.contains("(3)") || name.contains("(2)") || name.contains("(1)");
}
}
potions.java
this is probably causing the issue,
if your desperate for a quick fix.
go in your item.cfg
change all your noted potions to..(n)
for example
Code:
item = 189 Zamorak_brew(3) A_Zamorak_Brew. 175 175 175 0 0 0 0 0 0 0 0 0 0 0 0
item = 190 Zamorak_brew(n) Swap_this_note_at_any_bank_for_the_equivalent_item. 175 175 175 0 0 0 0 0 0 0 0 0 0 0 0
this will remove the (3) check and still show ingame as just a (3) potion, only problem is in trade screen it may show in the second window as (n) + there is alot of potions so it may take some time to change them all.
you could also just make is [3] or even 3.
this is just a cheap fix for that im sure you can add a diffrent type of check but i hope this helps anywyas.