Skip to content

Commit

Permalink
Hotfix : mauvaise variable pour le max membre de l'ile
Browse files Browse the repository at this point in the history
  • Loading branch information
Euphillya committed Jan 28, 2024
1 parent 619db7c commit 51053a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public CompletableFuture<Boolean> insertIslands(Island futurIsland) {
CompletableFuture<Boolean> completableFuture = new CompletableFuture<>();
try {
MariaDBExecute.executeQueryDML(this.api.getDatabaseLoader(), ADD_ISLANDS.formatted(this.databaseName, this.databaseName, this.databaseName, this.databaseName), List.of(
futurIsland.getId(), 1, futurIsland.getSize(), futurIsland.getSize()
futurIsland.getId(), 1, futurIsland.getSize(), futurIsland.getMaxMembers()
), i -> completableFuture.complete(i != 0), null);
} catch (Exception e) {
logger.log(Level.FATAL, e.getMessage(), e);
Expand Down

0 comments on commit 51053a5

Please sign in to comment.