Update StarNpc.cpp
This commit is contained in:
parent
b7aa185070
commit
4af22dd1fa
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user