mirror of
https://github.com/PikaMug/Quests.git
synced 2025-01-06 00:18:39 +01:00
Do not require Action mob name, fixes #1815
This commit is contained in:
parent
480e53a2c0
commit
4f6c032e68
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user