From 84eba0a156a2431f38f6edf4e6a33467141def06 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Tue, 9 Nov 2021 10:29:12 +0100 Subject: [PATCH] Fix ELO SQL --- SpigotCore_Main/src/de/steamwar/sql/Elo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpigotCore_Main/src/de/steamwar/sql/Elo.java b/SpigotCore_Main/src/de/steamwar/sql/Elo.java index b52f215..f077199 100644 --- a/SpigotCore_Main/src/de/steamwar/sql/Elo.java +++ b/SpigotCore_Main/src/de/steamwar/sql/Elo.java @@ -28,7 +28,7 @@ public class Elo { public static int getElo(int userId, String gameMode){ return get.select(rs -> { if(rs.next()) - return rs.getInt("id"); + return rs.getInt("Elo"); return 1000; }, userId, gameMode); }