Default NPC type should be set as Folk.
This commit is contained in:
@ -764,7 +764,7 @@ public class NpcData implements IXmlReader
|
||||
*/
|
||||
public List<NpcTemplate> getAllNpcStartingWith(String text)
|
||||
{
|
||||
return getTemplates(template -> template.isType("Npc") && template.getName().startsWith(text));
|
||||
return getTemplates(template -> template.isType("Folk") && template.getName().startsWith(text));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -132,7 +132,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
_id = set.getInt("id");
|
||||
_displayId = set.getInt("displayId", _id);
|
||||
_level = set.getInt("level", 85);
|
||||
_type = set.getString("type", "Npc");
|
||||
_type = set.getString("type", "Folk");
|
||||
_name = set.getString("name", "");
|
||||
_usingServerSideName = set.getBoolean("usingServerSideName", false);
|
||||
_title = set.getString("title", "");
|
||||
|
Reference in New Issue
Block a user