LTCatt 5 년 전
부모
커밋
9d3e7ac7c1

+ 1 - 1
data/item/loot_tables/gameparty/normal/white.json

@@ -2,7 +2,7 @@
 
     {
         "type": "minecraft:loot_table",
-        "weight": 4,
+        "weight": 3,
         "name": "item:gameparty/score/white"
     },
 

+ 1 - 1
data/ltw/functions/main/player_enter.mcfunction

@@ -12,7 +12,7 @@ execute as @a at @s run function lib:sounds/hit
 execute store result score @s UUID run data get entity @s UUID[0]
 
 # 如果是旁观者或局号不对头:开始旁观
-execute if entity @s[team=watching] run function ltw:main/player_enter_watcher
+execute if entity @s[team=!playing] run function ltw:main/player_enter_watcher
 execute if entity @s[team=playing] unless score @s game_id = $ game_id run function ltw:main/player_enter_watcher
 # 如果不是旁观且局号正确:游戏中掉线
 execute if entity @s[team=playing] if score @s game_id = $ game_id run function ltw:main/player_enter_rejoin

+ 4 - 1
data/test/functions/reset/emerald.mcfunction

@@ -8,5 +8,8 @@ scoreboard objectives remove shop_particle_4
 scoreboard objectives remove shop_particle_5
 scoreboard objectives remove shop_particle_6
 scoreboard objectives remove particle_type
+scoreboard objectives remove stat_total
+scoreboard objectives remove stat_win
+advancement revoke @a everything
 function ltw:init
-tellraw @a ["",{"text": ">> ","color": "red","bold":true},{"text":"已重置绿宝石记分板记录!","color":"red"}]
+tellraw @a ["",{"text": ">> ","color": "red","bold":true},{"text":"已重置绿宝石记分板记录!","color":"red"}]