Skip to content

Commit

Permalink
skip checking region files for a disabled world, closes #3
Browse files Browse the repository at this point in the history
  • Loading branch information
granny committed Feb 20, 2024
1 parent bb28624 commit 5a3b66a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ public void run() {

try {
Pl3xMap.api().getWorldRegistry().forEach(world -> {
if (!world.isEnabled()) return;

Collection<Path> files = world.getRegionFiles();
Collection<Point> modifiedRegions = new HashSet<>();
for (Path file : files) {
Expand Down

0 comments on commit 5a3b66a

Please sign in to comment.