Removed unnecesary method

This commit is contained in:
YellowZaki 2019-02-26 03:47:46 +01:00
parent 2ce97e6b3f
commit 6b71b436b6
2 changed files with 1 additions and 4 deletions

View File

@ -112,7 +112,7 @@ public class LimitsCalc {
private void checkBlock(Material md) {
md = bll.fixMaterial(md);
// md is limited
if (bll.getLimits().containsKey(md)) {
if (bll.getMaterialLimits(world, island.getUniqueId()).containsKey(md)) {
if (!blockCount.containsKey(md)) {
blockCount.put(md, 1);
} else {

View File

@ -126,9 +126,6 @@ public class BlockLimitsListener implements Listener {
return mats;
}
public Map<Material, Integer> getLimits() {
return this.defaultLimitMap;
}
/**
* Save the count database completely