Browse Source

Tweak to string cleanup.

combat-2
MagicBot 9 months ago
parent
commit
20bebafc89
  1. 4
      src/engine/gameManager/DbManager.java

4
src/engine/gameManager/DbManager.java

@ -278,10 +278,6 @@ public enum DbManager {
if (mysqlSet.isEmpty()) if (mysqlSet.isEmpty())
return enumSet; return enumSet;
// Remove the leading and trailing brackets from the MySQL set
mysqlSet = mysqlSet.substring(1, mysqlSet.length() - 1);
// Split set string and trim each element // Split set string and trim each element
String[] elements = mysqlSet.split(","); String[] elements = mysqlSet.split(",");

Loading…
Cancel
Save