mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2025-01-23 09:41:23 +01:00
Bug for class information saving in SQL.
This commit is contained in:
parent
aa90e9bc6c
commit
06985321d6
@ -125,7 +125,7 @@ public class MySQLPlayerDataManager extends PlayerDataManager {
|
||||
data.getBoundSkills().add(skill);
|
||||
}
|
||||
if (!isEmpty(result.getString("class_info"))) {
|
||||
JsonObject object = MythicLib.plugin.getJson().parse(result.getString("class_info"), JsonObject.class);
|
||||
JsonObject object = new Gson().fromJson(result.getString("class_info"), JsonObject.class);
|
||||
for (Entry<String, JsonElement> entry : object.entrySet()) {
|
||||
try {
|
||||
PlayerClass profess = MMOCore.plugin.classManager.get(entry.getKey());
|
||||
|
Loading…
Reference in New Issue
Block a user