geforkt von SteamWar/BungeeCore
Hotfix Modinsert
Dieser Commit ist enthalten in:
Ursprung
f03fc721d3
Commit
b63d428de5
@ -25,7 +25,7 @@ public class Mod {
|
|||||||
BungeeCore.log("Failed to load Mod", e);
|
BungeeCore.log("Failed to load Mod", e);
|
||||||
throw new SecurityException();
|
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);
|
return new Mod(modName, platform, ModType.UNKLASSIFIED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren