Remove unused shopmaterials in ShopHandler.java

This commit is contained in:
Len 2022-09-18 11:31:10 +02:00
parent 1089a06f3e
commit 6eacfb2256

View File

@ -30,8 +30,6 @@ public class ShopHandler {
@Getter
private final Map<Location, PlayerShop> shopLocation;
private final Map<Location, PlayerShop> shopSignLocation;
@Getter
private final ArrayList<Material> shopMaterials;
public ShopHandler(PlayerShops instance) {
plugin = instance;
@ -39,8 +37,6 @@ public class ShopHandler {
shopSignLocation = new ConcurrentHashMap<>();
shopBuildLimits = new Object2IntOpenHashMap<>();
shopBuildLimits.defaultReturnValue(Config.shopLimit);
shopMaterials = new ArrayList<>(); // TODO move into parent method where materials are loaded in.
shopMaterials.add(Material.BARREL);
loadShops();
}