Skip to content

Commit

Permalink
Fixed issues with island borders
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachesMLG committed Jul 2, 2021
1 parent dbb991b commit ff02d61
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ public static boolean pay(@NotNull Player player, @NotNull Island island, int cr
*/
public static void sendBorder(@NotNull Player player, @NotNull Island island) {
final Location centre = island.getCenter(player.getWorld()).clone();
centre.add(0.5, 0.0, 0.5);

Bukkit.getScheduler().runTask(IridiumSkyblock.getInstance(), () -> IridiumSkyblock.getInstance().getNms().sendWorldBorder(player, island.getColor(), island.getSize() + (island.getSize() % 2 == 0 ? 1 : 0), centre));
}
Expand Down

0 comments on commit ff02d61

Please sign in to comment.