diff --git a/main/src/main/java/me/blackvein/quests/actions/ActionFactory.java b/main/src/main/java/me/blackvein/quests/actions/ActionFactory.java index ecaf5fc89..2ecf4e553 100644 --- a/main/src/main/java/me/blackvein/quests/actions/ActionFactory.java +++ b/main/src/main/java/me/blackvein/quests/actions/ActionFactory.java @@ -388,10 +388,9 @@ public class ActionFactory implements ConversationAbandonedListener { ss = section.createSection("mob-spawns." + count); } final QuestMob questMob = QuestMob.fromString(s); - if (questMob.getName() == null) { - continue; + if (questMob.getName() != null) { + ss.set("name", questMob.getName()); } - ss.set("name", questMob.getName()); ss.set("spawn-location", ConfigUtil.getLocationInfo(questMob.getSpawnLocation())); ss.set("mob-type", questMob.getType().name()); ss.set("spawn-amounts", questMob.getSpawnAmounts());