Skip to content

Commit

Permalink
feat: change file utils algorithms for improvide optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
Josscoder committed Jan 10, 2023
1 parent 0177d6a commit 4514570
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ public boolean load() {
gameId + "_" + sourceWorldFolder.getName() + "_" + System.currentTimeMillis()
);

try {
FileUtils.copy(sourceWorldFolder, activeWorldFolder);
} catch (IOException e) {
e.printStackTrace();
}
FileUtils.copy(sourceWorldFolder, activeWorldFolder);

Server.getInstance().loadLevel(activeWorldFolder.getName());

Expand Down

0 comments on commit 4514570

Please sign in to comment.