Skip to content

Commit

Permalink
DP | Remove useless stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Nik0-0 committed Feb 27, 2024
1 parent fc6718a commit c1cee57
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,5 +1,5 @@
scoreboard players remove ticks nn_spawn 1
$execute unless entity @e[tag=$(bot_name)] run scoreboard players set spawn nn_nextbot_spawn $(id)
$execute if score ticks nn_spawn <= 0 nn_spawn run tp @e[tag=$(bot_name)_z] @e[tag=$(map),limit=1,sort=random]
$execute if score ticks nn_spawn <= 0 nn_spawn run scoreboard players set ticks nn_spawn 20
execute if score ticks nn_spawn <= 0 nn_spawn run scoreboard players set ticks nn_spawn 20
$say $(bot_name) $(id) $(map)
2 changes: 1 addition & 1 deletion nnb_spawnsystem/main.jmc
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function setup_bots() {
$execute unless entity @e[tag=$(bot_name)] run scoreboard players set spawn nn_nextbot_spawn $(id);

$execute if score ticks nn_spawn <= 0 nn_spawn run tp @e[tag=$(bot_name)_z] @e[tag=$(map),limit=1,sort=random];
$execute if score ticks nn_spawn <= 0 nn_spawn run scoreboard players set ticks nn_spawn 20;
execute if score ticks nn_spawn <= 0 nn_spawn run scoreboard players set ticks nn_spawn 20;
$say "$(bot_name) $(id) $(map)";


Expand Down

0 comments on commit c1cee57

Please sign in to comment.