修复不符合命名规范的计分板名称
This commit is contained in:
parent
bd651ce38c
commit
d7a4b8850f
@ -1,7 +1,7 @@
|
||||
// 计分板模块扩展插件
|
||||
// 忽略假人分数
|
||||
// **请勿修改文件名!!**
|
||||
global_app_version = '1.0-beta.7';
|
||||
global_app_version = '1.0-beta.8';
|
||||
|
||||
__config() -> {
|
||||
'scope' -> 'global',
|
||||
@ -27,7 +27,8 @@ __config() -> {
|
||||
'type' -> 'term',
|
||||
'suggest' -> [
|
||||
'2.x',
|
||||
'3.0-beta.4'
|
||||
'3.0-beta.4',
|
||||
'3.0-beta.9'
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -91,7 +92,11 @@ help() -> (
|
||||
|
||||
delete_old(fzsd_version) -> (
|
||||
old_scoreboards = [];
|
||||
if(fzsd_version == '2.x',
|
||||
if(fzsd_version == '3.0-beta.9',
|
||||
(
|
||||
old_scoreboards = ['fzsd.extra.bbl.display'];
|
||||
),
|
||||
fzsd_version == '2.x',
|
||||
(
|
||||
old_scoreboards = ['usedDiaAxe', 'usedDiaPickaxe', 'usedDiaShovel', 'usedDiaHoe', 'usedIroAxe','usedIroPickaxe', 'usedIroShovel', 'usedIroHoe', 'usedStoAxe', 'usedStoPickaxe', 'usedStoShovel', 'usedStoHoe', 'usedWooAxe', 'usedWooPickaxe', 'usedWooShovel', 'usedWooHoe', 'usedGolAxe', 'usedGolPickaxe', 'usedGolShovel', 'usedGolHoe', 'usedNetAxe', 'usedNetPickaxe', 'usedNetShovel', 'usedNetHoe', 'usedShears', 'damageTaken', '10xDamageTaken', 'deathCounter', 'deathTester', 'digCounter', 'fishingCounter', 'fishingTester', 'killCounter', 'tradingCounter', 'totalList', 'bedrockBreaked', 'fz.bbl', 'fz.aviate1m', 'fz.aviateCounter', 'fz.aviateOneTime', 'Health', 'carpetBot', 'parameter'];
|
||||
team_remove('carpetBot');
|
||||
@ -111,7 +116,13 @@ delete_old(fzsd_version) -> (
|
||||
|
||||
update_from(fzsd_version) -> (
|
||||
params = [];
|
||||
if(fzsd_version == '2.x',
|
||||
if(fzsd_version == '3.0-beta.9',
|
||||
(
|
||||
params = [
|
||||
['fzsd.extra.bbl.display', 'fzsd.module.scoreboard.display.bedrock_broke_count']
|
||||
]
|
||||
),
|
||||
fzsd_version == '2.x',
|
||||
(
|
||||
params = [
|
||||
['activation', 'fzsd.module.scoreboard.display.activation'],
|
||||
@ -123,7 +134,6 @@ update_from(fzsd_version) -> (
|
||||
['tradingCounter', 'fzsd.module.scoreboard.display.trade_count'],
|
||||
['bedrockBreaked', 'fzsd.module.scoreboard.display.bedrock_broke_count'],
|
||||
['fz.aviate1m', 'fzsd.module.scoreboard.display.aviating_distance']
|
||||
['fz.bbl', 'fzsd.extra.bbl.display']
|
||||
]
|
||||
),
|
||||
fzsd_version == '3.0-beta.4',
|
||||
|
Loading…
Reference in New Issue
Block a user