diff --git a/variable_types/selector_id_var.py b/variable_types/selector_id_var.py index 7646827..9b4d7e2 100644 --- a/variable_types/selector_id_var.py +++ b/variable_types/selector_id_var.py @@ -13,7 +13,7 @@ def initialize_id(self, func): func.register_objective('_unique') func.register_objective('_id') func.add_command('scoreboard players add Global _unique 1') - func.add_command(f'execute unless score {self.selector} _id matches 1.. run scoreboard players operation {0} _id = Global _unique') + func.add_command(f'execute unless score {self.selector} _id matches 1.. run scoreboard players operation {self.selector} _id = Global _unique') # Returns a scoreboard objective for this variable. # If assignto isn't None, then this function may