@@ -45,8 +45,8 @@ execute if score $in.uid rx.pdb.io < $uid.next rx.uid run commands logic
4545 #> if $size = 1, this means an entry was found
4646 execute if score $size rx.temp matches 1 run sequentially
4747 data modify storage rx.playerdb:temp UUID set from storage rx.playerdb:main players[{selected:1b}].info.UUID
48- function uuid/select
49- data modify storage rx.playerdb:main uuid[{selected:1b}].entries[-1].hasEntry set value 0b
48+ function {{ ctx.generate.path(' uuid/select') }}
49+ data modify storage rx.playerdb:main uuid[{selected:1b}].entries[-1].has_entry set value 0b
5050
5151 #> success msg and remove selected player
5252 execute if score $size rx.temp matches 1 run sequentially
@@ -105,7 +105,7 @@ execute if score $found rx.temp matches 1 run commands found_acc
105105
106106 #> grab our uid and other data then nuke
107107 execute store result score $migrate.uid rx.temp run data get storage rx.playerdb:main uuid[{selected:1b}].entries[-1].uid
108- execute store result score $migrate.hasEntry rx.temp run data get storage rx.playerdb:main uuid[{selected:1b}].entries[-1].hasEntry
108+ execute store result score $migrate.has_entry rx.temp run data get storage rx.playerdb:main uuid[{selected:1b}].entries[-1].has_entry
109109 data modify storage rx.playerdb:temp admin.migrate.old_name set from storage rx.playerdb:main uuid[{selected:1b}].entries[-1].name
110110 data remove storage rx.playerdb:main uuid[{selected:1b}].entries[-1]
111111
@@ -117,7 +117,7 @@ execute if score $found rx.temp matches 1 run commands found_acc
117117
118118 #> restore our old uid and data
119119 scoreboard players operation @s rx.uid = $migrate.uid rx.temp
120- scoreboard players operation @s rx.pdb.has_entry = $migrate.hasEntry rx.temp
120+ scoreboard players operation @s rx.pdb.has_entry = $migrate.has_entry rx.temp
121121
122122 # also update name while we are at it
123123 execute if score @s rx.pdb.has_entry matches 1.. run sequentially
@@ -131,7 +131,7 @@ execute if score $found rx.temp matches 1 run commands found_acc
131131 scoreboard players operation $uid rx.temp = @s rx.uuid0
132132 function #rx.playerdb:api/v{{major ~ '/uuid'}}
133133 execute store result storage rx.playerdb:main uuid[{selected:1b}].entries[-1].uid byte 1 run scoreboard players get @s rx.uid
134- execute store result storage rx.playerdb:main uuid[{selected:1b}].entries[-1].hasEntry byte 1 run scoreboard players get @s rx.pdb.has_entry
134+ execute store result storage rx.playerdb:main uuid[{selected:1b}].entries[-1].has_entry byte 1 run scoreboard players get @s rx.pdb.has_entry
135135
136136 #> tellraw a success msg :D
137137 tellraw @a[tag=rx.admin] from rx.playerdb:admin/migration/success
0 commit comments