Update StarNpc.cpp

This commit is contained in:
Kae 2023-08-01 17:51:58 +10:00
parent b7aa185070
commit 4af22dd1fa

View File

@ -46,7 +46,8 @@ Npc::Npc(NpcVariant const& npcVariant)
m_questIndicatorOffset = jsonToVec2F(assets->json("/quests/quests.config:defaultIndicatorOffset"));
m_clientEntityMode = ClientEntityModeNames.getLeft(npcVariant.overrides.getString("clientEntityMode", "ClientSlaveOnly"));
if (npcVariant.overrides)
m_clientEntityMode = ClientEntityModeNames.getLeft(npcVariant.overrides.getString("clientEntityMode", "ClientSlaveOnly"));
m_isInteractive.set(false);