Skip to content

Commit

Permalink
DP | Bruh...
Browse files Browse the repository at this point in the history
  • Loading branch information
Nik0-0 committed Feb 27, 2024
1 parent 37dc9af commit 675f759
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,3 +1,3 @@
$execute unless entity @e[tag=$(bot_name)] run scoreboard players set spawn nn_nextbot_spawn $(bot_id)
$execute unless entity @e[tag=$(bot_name)] run scoreboard players set spawn nn_nextbot_spawn $(id)
$tp @e[tag=$(bot_name)_z,tag=!done] @e[tag=$(map),limit=1,sort=random]
$tag @e[tag=$(bot_name)_z,tag=!done] add done
2 changes: 1 addition & 1 deletion nnb_spawnsystem/main.jmc
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ switch(nn_spawn:spawn) {

// Universal spawn bot stuff
function setup_bots() {
$execute unless entity @e[tag=$(bot_name)] run scoreboard players set spawn nn_nextbot_spawn $(bot_id);
$execute unless entity @e[tag=$(bot_name)] run scoreboard players set spawn nn_nextbot_spawn $(id);
$tp @e[tag=$(bot_name)_z,tag=!done] @e[tag=$(map),limit=1,sort=random];
$tag @e[tag=$(bot_name)_z,tag=!done] add done;
}
Expand Down

0 comments on commit 675f759

Please sign in to comment.