Skip to content

Commit 7d487aa

Browse files
committed
Update the version number
1 parent 90a7c79 commit 7d487aa

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Datapack/data/lthc.mage/functions/admin/uninstall.mcfunction

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ schedule clear lthc.mage:entities/boss/manage_summon_boss
3636
schedule clear lthc.mage:core/loading/post_load
3737

3838
# Try disable the pack if the name didn't changed
39-
datapack disable "file/magical_elementalization_v1.5.zip"
40-
datapack disable "file/magical_elementalization_v1.5"
39+
datapack disable "file/magical_elementalization_v1.6.zip"
40+
datapack disable "file/magical_elementalization_v1.6"
4141
datapack disable "file/magical_elementalization.zip"
4242
datapack disable "file/magical_elementalization"
4343
datapack disable "file/Magical-Elementalization"

Datapack/data/lthc.mage/functions/core/loading/first_run/main.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Set the version of the datapack
2-
scoreboard players set #lthc.mage.version lthc.mage.data 010500
2+
scoreboard players set #lthc.mage.version lthc.mage.data 010600
33

44
# Create Scores
55
function lthc.mage:core/loading/score

Datapack/data/lthc.mage/functions/core/loading/first_run/update.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Set the version of the datapack
2-
scoreboard players set #lthc.mage.version lthc.mage.data 010500
2+
scoreboard players set #lthc.mage.version lthc.mage.data 010600
33

44
scoreboard objectives remove lthc.mage.mental_state
55

Datapack/data/lthc.mage/functions/core/loading/reload.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ scoreboard objectives add lthc.mage.data dummy
33

44
# Check if it is the datapack first run or an update of the datapack
55
execute unless score #lthc.mage.first_run lthc.mage.data matches 1 run function lthc.mage:core/loading/first_run/main
6-
execute if score #lthc.mage.first_run lthc.mage.data matches 1 unless score #lthc.mage.version lthc.mage.data matches 010500 run function lthc.mage:core/loading/first_run/update
6+
execute if score #lthc.mage.first_run lthc.mage.data matches 1 unless score #lthc.mage.version lthc.mage.data matches 010600 run function lthc.mage:core/loading/first_run/update
77

88
# Summon a marker at the worldspawn for something
99
execute as @e[type=marker,tag=lthc.mage] run function lthc.mage:try_unload
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
tellraw @s ["",{"text":"Magical Elementalization","color":"green"},{"text":"\n\nVersion: "},{"text":"v 1.5","color":"#FFDD00"},{"text":"\nBug Tracker: "},{"text":"*click*","color":"#FFDD00","clickEvent":{"action":"open_url","value":"https://github.com/LTHCTheMaster/Mage-of-LTHC/issues"}}]
1+
tellraw @s ["",{"text":"Magical Elementalization","color":"green"},{"text":"\n\nVersion: "},{"text":"v 1.6","color":"#FFDD00"},{"text":"\nBug Tracker: "},{"text":"*click*","color":"#FFDD00","clickEvent":{"action":"open_url","value":"https://github.com/LTHCTheMaster/Mage-of-LTHC/issues"}}]
22
scoreboard players set @s lthc.mage.info 0

0 commit comments

Comments
 (0)