mirror of
https://github.com/BentoBoxWorld/Limits.git
synced 2024-09-27 14:12:57 +02:00
Removed unnecesary method
This commit is contained in:
parent
2ce97e6b3f
commit
6b71b436b6
@ -112,7 +112,7 @@ public class LimitsCalc {
|
|||||||
private void checkBlock(Material md) {
|
private void checkBlock(Material md) {
|
||||||
md = bll.fixMaterial(md);
|
md = bll.fixMaterial(md);
|
||||||
// md is limited
|
// md is limited
|
||||||
if (bll.getLimits().containsKey(md)) {
|
if (bll.getMaterialLimits(world, island.getUniqueId()).containsKey(md)) {
|
||||||
if (!blockCount.containsKey(md)) {
|
if (!blockCount.containsKey(md)) {
|
||||||
blockCount.put(md, 1);
|
blockCount.put(md, 1);
|
||||||
} else {
|
} else {
|
||||||
|
@ -126,9 +126,6 @@ public class BlockLimitsListener implements Listener {
|
|||||||
return mats;
|
return mats;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Map<Material, Integer> getLimits() {
|
|
||||||
return this.defaultLimitMap;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Save the count database completely
|
* Save the count database completely
|
||||||
|
Loading…
Reference in New Issue
Block a user