forked from MagicBane/Server
Tweak to string cleanup.
This commit is contained in:
@@ -278,10 +278,6 @@ public enum DbManager {
|
||||
if (mysqlSet.isEmpty())
|
||||
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
|
||||
|
||||
String[] elements = mysqlSet.split(",");
|
||||
|
||||
Reference in New Issue
Block a user