Skip to content

Commit

Permalink
🧑‍💻 update player display when running set/unset_active_player admin …
Browse files Browse the repository at this point in the history
…function
  • Loading branch information
TheAfroOfDoom committed Oct 24, 2024
1 parent 5608de1 commit e336d27
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
tag @a remove omegaflowey.player.fighting_flowey
tag @s add omegaflowey.player.fighting_flowey

function gu:generate
data modify storage omegaflowey:bossfight active_player_uuid set from storage gu:main out

function omegaflowey.main:summit/room/cave/active_player_display/update_value with storage omegaflowey:bossfight

function omegaflowey.utils:log/self { text_component: '[ \
{ "text": "Set you as the active bossfight player", "color": "yellow" } \
]' }
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
tag @s remove omegaflowey.player.fighting_flowey

function omegaflowey.main:summit/room/cave/active_player_display/update_value with storage omegaflowey:bossfight

function omegaflowey.utils:log/self { text_component: '[ \
{ "text": "Unset you as the active bossfight player", "color": "yellow" } \
]' }

0 comments on commit e336d27

Please sign in to comment.