Update StarNpc.cpp

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

View File

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