Skip to content

Commit

Permalink
DP | Change debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
Nik0-0 committed Feb 28, 2024
1 parent 70f3010 commit 0899551
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$tp @e[tag=$(bot_name)_z,tag=!done] @e[tag=$(map),limit=1,sort=random]
$execute at @e[tag=$(bot_name)_z,tag=!done] run summon minecraft:lightning_bolt ~ ~ ~
$tag @e[tag=$(bot_name)_z,tag=!done] add done
$tellraw @a[tag=debug] "&<dark_gray>Spawned: $(bot_name) $(id) In: $(map)"
$tellraw @a[tag=debug] "&<gray> Spawned: $(bot_name) $(id) In: $(map)"
data modify storage nnb_spawnsystem:temp bot_name set value "EMPTY_SKIPPED"
$scoreboard players set ticks nn_spawn $(limit)
2 changes: 1 addition & 1 deletion nnb_spawnsystem/main.jmc
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ function tp_bots() {
$tp @e[tag=$(bot_name)_z,tag=!done] @e[tag=$(map),limit=1,sort=random];
$execute at @e[tag=$(bot_name)_z,tag=!done] run summon minecraft:lightning_bolt ~ ~ ~;
$tag @e[tag=$(bot_name)_z,tag=!done] add done;
$tellraw @a[tag=debug] "&<dark_gray>Spawned: $(bot_name) $(id) In: $(map)";
$tellraw @a[tag=debug] "&<gray> Spawned: $(bot_name) $(id) In: $(map)";

data modify storage nnb_spawnsystem:temp bot_name set value "EMPTY_SKIPPED";
$scoreboard players set ticks nn_spawn $(limit);
Expand Down

0 comments on commit 0899551

Please sign in to comment.