Skip to content

Commit

Permalink
DP | Optimize stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Nik0-0 committed Feb 28, 2024
1 parent 6785dca commit 53660c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
function nnb_spawnsystem:root
execute store result score botscount nn_spawn if entity @e[type=!player,tag=nextbot]
execute if score disable nn_spawn matches 0 run function nnb_spawnsystem:__private__/if_else/2
execute if score started nn_lobby matches 1 run function nnb_spawnsystem:timer_msec
4 changes: 2 additions & 2 deletions nnb_spawnsystem/main.jmc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Text.tellraw(@a, "Spawn System Loaded");
function __tick__() {
root();

// Count the bots
execute store result score botscount nn_spawn run execute if entity @e[type=!player,tag=nextbot];
// Count the bots - MOVED TO THE INGAME CMB SYSTEM
// execute store result score botscount nn_spawn run execute if entity @e[type=!player,tag=nextbot];


// Only run spawn system if its enabled
Expand Down

0 comments on commit 53660c8

Please sign in to comment.