Skip to content
This repository was archived by the owner on Dec 5, 2021. It is now read-only.

Commit 6393fdd

Browse files
committed
Remove outdated method
Former-commit-id: bdab919
1 parent be437a4 commit 6393fdd

File tree

7 files changed

+3
-858
lines changed

7 files changed

+3
-858
lines changed

src/main/java/org/maxgamer/quickshop/QuickShop.java

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
import org.maxgamer.quickshop.Shop.Shop;
5252
import org.maxgamer.quickshop.Shop.ShopManager;
5353
import org.maxgamer.quickshop.Shop.ShopType;
54-
import org.maxgamer.quickshop.Util.CustomItemNameAAA;
5554
//import org.maxgamer.quickshop.Util.CustomPotionsName;
5655
import org.maxgamer.quickshop.Util.MsgUtil;
5756
//import org.maxgamer.quickshop.Util.NMS;
@@ -111,8 +110,7 @@ public class QuickShop extends JavaPlugin {
111110
// private Metrics metrics;
112111
/** Whether debug info should be shown in the console */
113112
public static boolean debug = false;
114-
115-
private Map<Material,List<CustomItemNameAAA>> customItemsName = new HashMap<Material,List<CustomItemNameAAA>>();
113+
116114

117115
private int displayItemCheckTicks;
118116

@@ -521,22 +519,4 @@ public void debug(String s) {
521519
public ShopManager getShopManager() {
522520
return this.shopManager;
523521
}
524-
525-
public Map<Material, List<CustomItemNameAAA>> getCustomItemsNameMap() {
526-
return customItemsName;
527-
}
528-
529-
public CustomItemNameAAA getCustomItemNames(ItemStack is) {
530-
List<CustomItemNameAAA> list = customItemsName.get(is.getType());
531-
if (list==null) {
532-
return null;
533-
}
534-
for (CustomItemNameAAA cin : list) {
535-
if (cin.matches(is)) {
536-
return cin;
537-
}
538-
}
539-
540-
return null;
541-
}
542522
}

src/main/java/org/maxgamer/quickshop/Util/CustomItemNameAAA.java

Lines changed: 0 additions & 78 deletions
This file was deleted.

src/main/java/org/maxgamer/quickshop/Util/CustomPotionsName.java

Lines changed: 0 additions & 266 deletions
This file was deleted.

0 commit comments

Comments
 (0)