Fix NPC related bug
This commit is contained in:
@@ -85,6 +85,7 @@ storyboard_npc_memalloc:
|
||||
- adjust <[npc]> skin_blob:<[skin_blob]>
|
||||
- if <[assignment]> != null:
|
||||
- assignment set script:<[assignment]> to:<[npc]>
|
||||
- wait 1t
|
||||
- run storyboard_npc_internal_show_to_player def.player:<[player]> def.npc:<[npc]>
|
||||
- else:
|
||||
- define index <server.npcs[<[registry]>].find[<[npc_id]>]>
|
||||
@@ -264,4 +265,4 @@ storyboard_npc_internal_auto_display_entities:
|
||||
- foreach <[npcs]> as:npc:
|
||||
- adjust <player> hide_entity:<[npc]>
|
||||
- foreach <[npc].hologram_npcs.if_null[<list[]>]> as:hologram:
|
||||
- adjust <player> hide_entity:<[hologram]>
|
||||
- adjust <player> hide_entity:<[hologram]>
|
||||
|
||||
Reference in New Issue
Block a user