shawenguan hace 1 año
padre
commit
a4dbe1f819
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      Scripts/168/pksExpertHelper.js

+ 3 - 0
Scripts/168/pksExpertHelper.js

@@ -91,6 +91,9 @@ async function tryPickExpert() {
 			tmpData.push([factor, item]);
 		}
 	}
+	if (tmpData.length == 0) {
+		return;
+	}
 	tmpData.sort((a, b) => {
 		if (a[0] == b[0]) {
 			return 0;