From 7a48584cbb2d5440b008eb08c8290f0d33b92a2b Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sat, 9 Apr 2022 21:36:18 +0200 Subject: [PATCH] Update some stuff --- src/de/steamwar/bungeecore/sql/Replay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/sql/Replay.java b/src/de/steamwar/bungeecore/sql/Replay.java index 188232a..a4f2651 100644 --- a/src/de/steamwar/bungeecore/sql/Replay.java +++ b/src/de/steamwar/bungeecore/sql/Replay.java @@ -23,7 +23,7 @@ import java.sql.ResultSet; public class Replay { - private static final Statement hasReplay = new Statement("SELECT FightID FROM Replay WHERE FightID = ?"); + private static final Statement hasReplay = new Statement("SELECT 1 FROM Replay WHERE FightID = ?"); public static boolean hasReplay(int id) { return hasReplay.select(ResultSet::next, id);