Remove unused shopmaterials in ShopHandler.java
This commit is contained in:
parent
1089a06f3e
commit
6eacfb2256
|
|
@ -30,8 +30,6 @@ public class ShopHandler {
|
||||||
@Getter
|
@Getter
|
||||||
private final Map<Location, PlayerShop> shopLocation;
|
private final Map<Location, PlayerShop> shopLocation;
|
||||||
private final Map<Location, PlayerShop> shopSignLocation;
|
private final Map<Location, PlayerShop> shopSignLocation;
|
||||||
@Getter
|
|
||||||
private final ArrayList<Material> shopMaterials;
|
|
||||||
|
|
||||||
public ShopHandler(PlayerShops instance) {
|
public ShopHandler(PlayerShops instance) {
|
||||||
plugin = instance;
|
plugin = instance;
|
||||||
|
|
@ -39,8 +37,6 @@ public class ShopHandler {
|
||||||
shopSignLocation = new ConcurrentHashMap<>();
|
shopSignLocation = new ConcurrentHashMap<>();
|
||||||
shopBuildLimits = new Object2IntOpenHashMap<>();
|
shopBuildLimits = new Object2IntOpenHashMap<>();
|
||||||
shopBuildLimits.defaultReturnValue(Config.shopLimit);
|
shopBuildLimits.defaultReturnValue(Config.shopLimit);
|
||||||
shopMaterials = new ArrayList<>(); // TODO move into parent method where materials are loaded in.
|
|
||||||
shopMaterials.add(Material.BARREL);
|
|
||||||
|
|
||||||
loadShops();
|
loadShops();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user