geforkt von SteamWar/BungeeCore
Update some stuff
Dieser Commit ist enthalten in:
Ursprung
4bdead92b5
Commit
7a48584cbb
@ -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);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren