SteamWar/BungeeCore
Archiviert
13
2

Hotfix Modinsert

Dieser Commit ist enthalten in:
Lixfel 2020-02-11 19:26:55 +01:00
Ursprung f03fc721d3
Commit b63d428de5

Datei anzeigen

@ -25,7 +25,7 @@ public class Mod {
BungeeCore.log("Failed to load Mod", e);
throw new SecurityException();
}
SQL.update("INSERT INTO Mods (ModName, Platform) VALUES ('" + modName + "'," + platform.value + ")", modName, platform.value);
SQL.update("INSERT INTO Mods (ModName, Platform) VALUES (?, ?)", modName, platform.value);
return new Mod(modName, platform, ModType.UNKLASSIFIED);
}