This commit is contained in:
lxk0301
2021-04-23 17:50:25 +08:00
parent ea82840f68
commit ccab032559
5 changed files with 9 additions and 7 deletions

View File

@@ -171,8 +171,8 @@ async function doCultureBean() {
async function stealFriendWater() {
await stealFriendList();
if ($.stealFriendList && $.stealFriendList.code === '0') {
if ($.stealFriendList.data.tips) {
console.log('偷取好友营养液今日已达上限');
if ($.stealFriendList.data && $.stealFriendList.data.tips) {
console.log('\n\n今日偷取好友营养液已达上限\n\n');
return
}
if ($.stealFriendList.data && $.stealFriendList.data.friendInfoList && $.stealFriendList.data.friendInfoList.length > 0) {