From 55cef01b94ff841695556413d9963f19d81a6a60 Mon Sep 17 00:00:00 2001 From: PikaMug Date: Tue, 5 Nov 2019 17:38:52 -0500 Subject: [PATCH] Remove unused method --- main/src/main/java/me/blackvein/quests/Quests.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/main/src/main/java/me/blackvein/quests/Quests.java b/main/src/main/java/me/blackvein/quests/Quests.java index 6abd223b5..c1c0d17fa 100644 --- a/main/src/main/java/me/blackvein/quests/Quests.java +++ b/main/src/main/java/me/blackvein/quests/Quests.java @@ -3719,18 +3719,6 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener public String getNPCName(int id) { 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