🐞 fix(宝物): 修复宝物材料判断错误
This commit is contained in:
@@ -1329,7 +1329,7 @@ export function checkRouteParam(route: string, msg: any) {
|
||||
{
|
||||
if(!checkNaturalNumbers(msg.seqId)) return false;
|
||||
if(!checkNumberArray(msg.material)) return false;
|
||||
if(!checkNaturalArray(msg.generalItems)) return false;
|
||||
if(!checkArrayCanEmpty(msg.generalItems)) return false;
|
||||
for(let { id, count } of msg.generalItems) {
|
||||
if(!checkNaturalNumbers(id, count)) return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user