Skip to content

Commit

Permalink
DP | h
Browse files Browse the repository at this point in the history
  • Loading branch information
Nik0-0 committed Aug 31, 2024
1 parent e5a9ac4 commit 438c656
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions nnb_main/data/nnb_main/function/hide_as_names.mcfunction
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
execute at @a if score @p nn_asplaced >= 1 nn_asplaced as @e[type=armor_stand] as @e[type=armor_stand] run data modify entity @s CustomNameVisible set value 0b
execute at @a if score @p nn_asplaced >= 1 nn_asplaced as @e[type=armor_stand] run tellraw @a {"text":" \u26a0| Optimizing Stuff...","color":"yellow","type":"text"}
execute at @a if score @p nn_asplaced >= 1 nn_asplaced as @e[type=armor_stand] run scoreboard players set @p nn_asplaced 0
execute at @a if score @p nn_asplaced >= 1 nn_asplaced as @e[type=armor_stand] run data modify entity @s CustomNameVisible set value 0b
execute at @a if score @p nn_asplaced >= 1 nn_asplaced run tellraw @a {"text":" \u26a0| Optimizing Stuff...","color":"yellow","type":"text"}
execute at @a if score @p nn_asplaced >= 1 nn_asplaced run scoreboard players set @p nn_asplaced 0
2 changes: 1 addition & 1 deletion nnb_main/main.jmc
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function create_marker() {

function hide_as_names() {

execute at @a if score @p nn_asplaced >= 1 nn_asplaced run expand {
execute at @a if score @p nn_asplaced >= 1 nn_asplaced expand {
execute as @e[type=armor_stand] run data modify entity @s CustomNameVisible set value 0b;
Text.tellraw(@a, "&<yellow> ⚠| Optimizing Stuff...");
scoreboard players set @p nn_asplaced 0;
Expand Down

0 comments on commit 438c656

Please sign in to comment.