forked from OpenWF/SpaceNinjaServer
		
	fix: don't add unknown skin items to RawUpgrades (#918)
Reviewed-on: OpenWF/SpaceNinjaServer#918 Co-authored-by: Sainan <sainan@calamity.inc> Co-committed-by: Sainan <sainan@calamity.inc>
This commit is contained in:
		
							parent
							
								
									0f4c14531b
								
							
						
					
					
						commit
						e8559bc09c
					
				@ -415,6 +415,7 @@ export const addItem = async (
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
            break;
 | 
					            break;
 | 
				
			||||||
        case "Upgrades": {
 | 
					        case "Upgrades": {
 | 
				
			||||||
 | 
					            if (typeName.substr(1).split("/")[2] == "CosmeticEnhancers") {
 | 
				
			||||||
                // Needed to add Traumatic Peculiar
 | 
					                // Needed to add Traumatic Peculiar
 | 
				
			||||||
                const changes = [
 | 
					                const changes = [
 | 
				
			||||||
                    {
 | 
					                    {
 | 
				
			||||||
@ -429,6 +430,8 @@ export const addItem = async (
 | 
				
			|||||||
                    }
 | 
					                    }
 | 
				
			||||||
                };
 | 
					                };
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            break;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
        case "Types":
 | 
					        case "Types":
 | 
				
			||||||
            switch (typeName.substr(1).split("/")[2]) {
 | 
					            switch (typeName.substr(1).split("/")[2]) {
 | 
				
			||||||
                case "Sentinels": {
 | 
					                case "Sentinels": {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user