Skip to content

Commit

Permalink
Remove debug code that slipped in.
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed May 19, 2024
1 parent 99717f5 commit 2fc3396
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,6 @@ public void newIsland(Island oldIsland) throws IOException {
* @param oldIsland - old island that will be deleted
*/
private void postCreationTask(Island oldIsland) {
if (oldIsland == null) {
return;
}
// Set initial spawn point if one exists
if (island.getSpawnPoint(Environment.NORMAL) != null) {
plugin.getIslands().setHomeLocation(user, island.getSpawnPoint(Environment.NORMAL));
Expand Down

0 comments on commit 2fc3396

Please sign in to comment.