SteamWar/SpigotCore
Archiviert
13
0

Fixing Schematic deletion

Dieser Commit ist enthalten in:
Lixfel 2019-12-27 14:45:04 +01:00
Ursprung 0c236bfabe
Commit dd36e34fc8

Datei anzeigen

@ -259,8 +259,8 @@ public class Schematic {
}
public void remove(){
SQL.update("DELETE FROM Schematic WHERE SchemOwner = " + schemOwner + " AND SchemName = '" + schemName + "'");
SQL.update("DELETE FROM SchemMember WHERE SchemOwner = " + schemOwner + " AND SchemName = '" + schemName + "'");
SQL.update("DELETE FROM Schematic WHERE SchemOwner = " + schemOwner + " AND SchemName = '" + schemName + "'");
}
public static class WrongVersionException extends Exception{}