Merge branch 'SpecialItems' of https://github.com/AMelonInsideLemon/SpaceNinjaServer into SpecialItems
This commit is contained in:
commit
ec6c8bc105
@ -75,7 +75,7 @@ export const addSentinel = async (sentinelName: string, accountId: string) => {
|
||||
|
||||
export const addPowerSuit = async (powersuitName: string, accountId: string): Promise<ISuitClient> => {
|
||||
const specialItems = getExalted(powersuitName);
|
||||
if(specialItems != false){
|
||||
if (specialItems != false) {
|
||||
for await (const specialItem of specialItems) {
|
||||
await addSpecialItem(specialItem, accountId);
|
||||
}
|
||||
@ -88,7 +88,7 @@ export const addPowerSuit = async (powersuitName: string, accountId: string): Pr
|
||||
|
||||
export const addMechSuit = async (mechsuitName: string, accountId: string) => {
|
||||
const specialItems = getExalted(mechsuitName);
|
||||
if(specialItems != false){
|
||||
if (specialItems != false) {
|
||||
for await (const specialItem of specialItems) {
|
||||
await addSpecialItem(specialItem, accountId);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user