diff --git a/MMOCore-API/src/main/java/net/Indyuce/mmocore/manager/data/mysql/MMOCoreDataSynchronizer.java b/MMOCore-API/src/main/java/net/Indyuce/mmocore/manager/data/mysql/MMOCoreDataSynchronizer.java index 6901bfa8..48ee1850 100644 --- a/MMOCore-API/src/main/java/net/Indyuce/mmocore/manager/data/mysql/MMOCoreDataSynchronizer.java +++ b/MMOCore-API/src/main/java/net/Indyuce/mmocore/manager/data/mysql/MMOCoreDataSynchronizer.java @@ -97,7 +97,7 @@ public class MMOCoreDataSynchronizer extends DataSynchronizer { data.setSkillLevel(entry.getKey(), entry.getValue().getAsInt()); } if (!isEmpty(result.getString("bound_skills"))) { - JsonObject object = new Gson().fromJson(result.getString("skills"), JsonObject.class); + JsonObject object = new Gson().fromJson(result.getString("bound_skills"), JsonObject.class); for (Map.Entry entry : object.entrySet()) data.bindSkill(Integer.parseInt(entry.getKey()), data.getProfess().getSkill(entry.getValue().getAsString())); }