Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

Commit

Permalink
Fix Launch disabling itself on 1.14
Browse files Browse the repository at this point in the history
Oops
When I removed the 1.15-specific features for v0.0.3 I forgot to change this :/
  • Loading branch information
andantet authored Sep 21, 2019
1 parent 8402402 commit b1e2aba
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ execute if entity @e[type=minecraft:armor_stand,tag=lch_ver_check,nbt={HandItems
execute if entity @e[type=minecraft:armor_stand,tag=lch_ver_check,nbt={HandItems:[{tag:{update:14}}]}] run scoreboard players set server_version lch_general 14
execute if entity @e[type=minecraft:armor_stand,tag=lch_ver_check,nbt={ArmorItems:[{tag:{update:15}}]}] run scoreboard players set server_version lch_general 15
#disable pack is score is too low
execute unless score server_version lch_general matches 15 run tellraw @a {"translate":"text.launch.server_version.too_low","color":"red"}
execute unless score server_version lch_general matches 15 run datapack disable "file/Launch (Data)"
execute unless score server_version lch_general matches 15 run tellraw @a {"translate":"text.launch.server_version.too_low.done","color":"green"}
execute unless score server_version lch_general matches 14.. run tellraw @a {"translate":"text.launch.server_version.too_low","color":"red"}
execute unless score server_version lch_general matches 14.. run datapack disable "file/Launch (Data)"
execute unless score server_version lch_general matches 14.. run tellraw @a {"translate":"text.launch.server_version.too_low.done","color":"green"}
#kill test entities
kill @e[type=minecraft:armor_stand,tag=lch_ver_check]

0 comments on commit b1e2aba

Please sign in to comment.