Remove unused method

This commit is contained in:
PikaMug 2019-11-05 17:38:52 -05:00
parent 6af64c7eed
commit 55cef01b94

View File

@ -3720,18 +3720,6 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
return depends.getNPCName(id);
}
public static int countInv(Inventory inv, Material m, int subtract) {
int count = 0;
for (ItemStack i : inv.getContents()) {
if (i != null) {
if (i.getType().equals(m)) {
count += i.getAmount();
}
}
}
return count - subtract;
}
/**
* Checks whether an NPC has a quest that the player may accept
*