shawenguan há 1 ano atrás
pai
commit
a4dbe1f819
1 ficheiros alterados com 3 adições e 0 exclusões
  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;