mirror of
https://github.com/BentoBoxWorld/Limits.git
synced 2024-11-22 18:46:02 +01:00
Handles count of islands that have no count history.
https://github.com/BentoBoxWorld/addon-limits/issues/20
This commit is contained in:
parent
448229892c
commit
3450fe4695
@ -135,6 +135,9 @@ public class LimitsCalc {
|
|||||||
private void tidyUp() {
|
private void tidyUp() {
|
||||||
// Cancel
|
// Cancel
|
||||||
task.cancel();
|
task.cancel();
|
||||||
|
if (ibc == null) {
|
||||||
|
ibc = new IslandBlockCount();
|
||||||
|
}
|
||||||
ibc.setBlockCount(blockCount);
|
ibc.setBlockCount(blockCount);
|
||||||
bll.setIsland(island.getUniqueId(), ibc);
|
bll.setIsland(island.getUniqueId(), ibc);
|
||||||
sender.sendMessage("admin.limits.calc.finished");
|
sender.sendMessage("admin.limits.calc.finished");
|
||||||
|
Loading…
Reference in New Issue
Block a user