feat: personal decos in dojo & move dojo decos #1451
@ -40,9 +40,9 @@ export const placeDecoInComponentController: RequestHandler = async (req, res) =
 | 
			
		||||
        if (meta.capacityCost) {
 | 
			
		||||
            component.DecoCapacity -= meta.capacityCost;
 | 
			
		||||
        }
 | 
			
		||||
        if (meta.price == 0 && meta.ingredients.length == 0) {
 | 
			
		||||
            deco.CompletionTime = new Date();
 | 
			
		||||
    }
 | 
			
		||||
    if (!meta || (meta.price == 0 && meta.ingredients.length == 0)) {
 | 
			
		||||
        deco.CompletionTime = new Date();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    await guild.save();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user