Skip to content

Commit

Permalink
Merge branch 'emergency/one-world-border'
Browse files Browse the repository at this point in the history
  • Loading branch information
sh0ckR6 committed Aug 16, 2021
2 parents 83ddbed + 304b01b commit 1572211
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,7 @@ public void onAchievementUnlock(PlayerAdvancementDoneEvent event) {
}
}

// Update every border's size
for (World world : Bukkit.getWorlds()) {
updateBorder(world.getWorldBorder());
}
updateBorder(Bukkit.getWorlds().get(0).getWorldBorder());
}

/**
Expand Down Expand Up @@ -138,10 +135,7 @@ public void onPlayerJoin(PlayerJoinEvent event) {
}
}

// Update every border's size
for (World world : Bukkit.getWorlds()) {
updateBorder(world.getWorldBorder());
}
updateBorder(Bukkit.getWorlds().get(0).getWorldBorder());
}

/**
Expand Down

0 comments on commit 1572211

Please sign in to comment.