返回提交历史
Modified
config.json.example
+1
-1
Modified
src/controllers/api/getShipController.ts
+1
-1
Modified
src/services/configService.ts
+1
-1
XFEstudio/SpaceNinjaServer
Fixed Typo in config.json (#291)
5a083f5b
代码差异
3 个文件
+3
-3
@@ -16,7 +16,7 @@
16
16
"unlockAllQuests": true,
17
17
"completeAllQuests": false,
18
18
"infiniteResources": true,
19
"unlockallShipFeatures": true,
19
"unlockAllShipFeatures": true,
20
20
"unlockAllShipDecorations": true,
21
21
"unlockAllFlavourItems": true,
22
22
"unlockAllSkins": true,
@@ -31,7 +31,7 @@ export const getShipController: RequestHandler = async (req, res) => {
31
31
Apartment: personalRooms.Apartment
32
32
};
33
33
34
if (config.unlockallShipFeatures) {
34
if (config.unlockAllShipFeatures) {
35
35
getShipResponse.Ship.Features = allShipFeatures;
36
36
}
37
37
@@ -14,7 +14,7 @@ interface IConfig {
14
14
unlockAllQuests?: boolean;
15
15
completeAllQuests?: boolean;
16
16
infiniteResources?: boolean;
17
unlockallShipFeatures?: boolean;
17
unlockAllShipFeatures?: boolean;
18
18
unlockAllShipDecorations?: boolean;
19
19
unlockAllFlavourItems?: boolean;
20
20
unlockAllSkins?: boolean;