Skip to content

Commit

Permalink
rx: bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RitikShah committed Dec 2, 2020
1 parent 688eac1 commit 9d23302
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ data remove storage rx:global playerdb.players[-1].bit30
data remove storage rx:global playerdb.players[-1].bit31

# gen updated bits
data remove storage rx:temp playerdb.bits
function rx.playerdb:impl/uid_to_bits
data modify storage rx:global playerdb.players[-1].bits set from storage rx:temp playerdb.bits

# iterate
scoreboard players remove $loop rx.temp 1
Expand Down
2 changes: 1 addition & 1 deletion data/rx.playerdb/functions/impl/update/v07tov08.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
execute store result score $loop rx.temp if data storage rx:global playerdb.players[]
execute if score $loop rx.temp matches 1.. run function rx.playerdb:impl/update/v07to08/_iter

tellraw @a [{"text":"", "color":"gray"}, {"text":"P","color":"#dd9b14"},{"text":"l","color":"#df9412"},{"text":"a","color":"#e18e10"},{"text":"y","color":"#e3880e"},{"text":"e","color":"#e5810c"},{"text":"r","color":"#e77b0a"},{"text":"D","color":"#e97508"},{"text":"B","color":"#eb6f07"}, " successfully updated to v0.8"]
tellraw @a[tag=rx.admin] [{"text":"", "color":"gray"}, {"text":"P","color":"#dd9b14"},{"text":"l","color":"#df9412"},{"text":"a","color":"#e18e10"},{"text":"y","color":"#e3880e"},{"text":"e","color":"#e5810c"},{"text":"r","color":"#e77b0a"},{"text":"D","color":"#e97508"},{"text":"B","color":"#eb6f07"}, " successfully updated to latest"]
2 changes: 1 addition & 1 deletion project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ config-version = '1.1.1'
# output-folder = <folder name to output>

title = 'PlayerDB'
version = 'v1.0.1'
version = 'v1.0.2'
name-format = '{title} {version} {release_name}'

[global]
Expand Down

0 comments on commit 9d23302

Please sign in to comment.