From c1cee5741750dbc04872e095391280b0daa7344a Mon Sep 17 00:00:00 2001 From: _Nik0__ Date: Wed, 28 Feb 2024 00:42:52 +0100 Subject: [PATCH] DP | Remove useless stuff --- .../data/nnb_spawnsystem/functions/setup_bots.mcfunction | 2 +- nnb_spawnsystem/main.jmc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nnb_spawnsystem/data/nnb_spawnsystem/functions/setup_bots.mcfunction b/nnb_spawnsystem/data/nnb_spawnsystem/functions/setup_bots.mcfunction index bc09d94..ea90951 100644 --- a/nnb_spawnsystem/data/nnb_spawnsystem/functions/setup_bots.mcfunction +++ b/nnb_spawnsystem/data/nnb_spawnsystem/functions/setup_bots.mcfunction @@ -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) \ No newline at end of file diff --git a/nnb_spawnsystem/main.jmc b/nnb_spawnsystem/main.jmc index 245481f..853c095 100644 --- a/nnb_spawnsystem/main.jmc +++ b/nnb_spawnsystem/main.jmc @@ -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)";