diff --git a/src/de/steamwar/bungeecore/sql/Mod.java b/src/de/steamwar/bungeecore/sql/Mod.java index fee37560..59fba214 100644 --- a/src/de/steamwar/bungeecore/sql/Mod.java +++ b/src/de/steamwar/bungeecore/sql/Mod.java @@ -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); }