diff --git a/com/gamingmesh/jobs/config/TitleManager.java b/com/gamingmesh/jobs/config/TitleManager.java index fe44800d..4707027d 100644 --- a/com/gamingmesh/jobs/config/TitleManager.java +++ b/com/gamingmesh/jobs/config/TitleManager.java @@ -143,6 +143,11 @@ public class TitleManager { ChatColor.matchColor(c.get("Titles.Legendary.ChatColour", "BLACK")), c.get("Titles.Legendary.levelReq", 200), null)); + try { + c.getC().save(f); + } catch (IOException e) { + e.printStackTrace(); + } } else for (String titleKey : titleSection.getKeys(false)) { String jobName = null; @@ -175,12 +180,6 @@ public class TitleManager { this.titles.add(new Title(titleName, titleShortName, titleColor, levelReq, jobName)); } - Bukkit.getConsoleSender().sendMessage(ChatColor.YELLOW + "[Jobs] Loaded " + titles.size() + " titles!"); - try { - c.getC().save(f); - } catch (IOException e) { - e.printStackTrace(); - } } } diff --git a/com/gamingmesh/jobs/nmsUtil/v1_10.java b/com/gamingmesh/jobs/nmsUtil/v1_10.java index c78324bd..286d1b4e 100644 --- a/com/gamingmesh/jobs/nmsUtil/v1_10.java +++ b/com/gamingmesh/jobs/nmsUtil/v1_10.java @@ -19,6 +19,7 @@ import org.bukkit.event.block.BlockPistonRetractEvent; import org.bukkit.inventory.ItemStack; import com.gamingmesh.jobs.NMS; +import com.gamingmesh.jobs.stuff.Debug; public class v1_10 implements NMS { @Override @@ -55,7 +56,7 @@ public class v1_10 implements NMS { Zombie zombie = (Zombie) entity; if (zombie.isVillager() && zombie.getVillagerProfession() != Profession.HUSK) return "ZombieVillager"; - if (zombie.isVillager() && zombie.getVillagerProfession() == Profession.HUSK) + if (zombie.getVillagerProfession() == Profession.HUSK) return "ZombieHusk"; break; default: