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

Commit

Permalink
Remove outdated method
Browse files Browse the repository at this point in the history
Former-commit-id: bdab919
  • Loading branch information
Ghost-chu committed Aug 1, 2018
1 parent be437a4 commit 6393fdd
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 858 deletions.
22 changes: 1 addition & 21 deletions src/main/java/org/maxgamer/quickshop/QuickShop.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
import org.maxgamer.quickshop.Shop.Shop;
import org.maxgamer.quickshop.Shop.ShopManager;
import org.maxgamer.quickshop.Shop.ShopType;
import org.maxgamer.quickshop.Util.CustomItemNameAAA;
//import org.maxgamer.quickshop.Util.CustomPotionsName;
import org.maxgamer.quickshop.Util.MsgUtil;
//import org.maxgamer.quickshop.Util.NMS;
Expand Down Expand Up @@ -111,8 +110,7 @@ public class QuickShop extends JavaPlugin {
// private Metrics metrics;
/** Whether debug info should be shown in the console */
public static boolean debug = false;

private Map<Material,List<CustomItemNameAAA>> customItemsName = new HashMap<Material,List<CustomItemNameAAA>>();


private int displayItemCheckTicks;

Expand Down Expand Up @@ -521,22 +519,4 @@ public void debug(String s) {
public ShopManager getShopManager() {
return this.shopManager;
}

public Map<Material, List<CustomItemNameAAA>> getCustomItemsNameMap() {
return customItemsName;
}

public CustomItemNameAAA getCustomItemNames(ItemStack is) {
List<CustomItemNameAAA> list = customItemsName.get(is.getType());
if (list==null) {
return null;
}
for (CustomItemNameAAA cin : list) {
if (cin.matches(is)) {
return cin;
}
}

return null;
}
}
78 changes: 0 additions & 78 deletions src/main/java/org/maxgamer/quickshop/Util/CustomItemNameAAA.java

This file was deleted.

266 changes: 0 additions & 266 deletions src/main/java/org/maxgamer/quickshop/Util/CustomPotionsName.java

This file was deleted.

Loading

0 comments on commit 6393fdd

Please sign in to comment.