Browse Source

Update TasksaboardtheFarJourney.lua

Fix the duplicate "open" entity commands presented on the chests
Image 3 năm trước cách đây
mục cha
commit
875be485de

+ 1 - 0
server/Quests/FarJourneyFreeport/TasksaboardtheFarJourney.lua

@@ -109,6 +109,7 @@ function CurrentStep(Quest, QuestGiver, Player)
 			spawn = GetSpawnFromList(spawns, i-1)
 			if spawn then
 				ChangeHandIcon(spawn, 1)
+				AddPrimaryEntityCommand(nil, spawn)
 				SpawnSet(NPC, "targetable", 1, true, true)
 			end
 			i = i + 1