更改更新数据获取地址

This commit is contained in:
ZV committed 2026-08-27 16:02:04 +08:00
1 parent 90f6d120eb
commit 227caf3d2e
3 files changed
+15 -17

No files matched your search

+1 -2
View File
@@ -30,7 +30,6 @@ class CommandPresetService {
QuickCommandPreset(label: '设为白天', command: 'time set day'),
QuickCommandPreset(label: '设为黑夜', command: 'time set night'),
QuickCommandPreset(label: '和平难度', command: 'difficulty peaceful'),
QuickCommandPreset(label: '生存模式', command: 'gamemode survival'),
QuickCommandPreset(label: '白名单列表', command: 'whitelist list'),
QuickCommandPreset(label: '在线公告', command: 'say 服务器已在线,欢迎游玩!'),
];
@@ -55,4 +54,4 @@ class CommandPresetService {
final encoded = jsonEncode(presets.map((p) => p.toJson()).toList());
await prefs.setString(_key, encoded);
}
}
}