Update guess-player-levels.user.js
Plugin would hang if non-portal data was loaded (ex: deleted portal)
This commit is contained in:
parent
6056cd488f
commit
9ef7e95721
@ -119,7 +119,7 @@ window.plugin.guessPlayerLevels.setupChatNickHelper = function() {
|
||||
}
|
||||
|
||||
window.plugin.guessPlayerLevels.extractPortalData = function(data) {
|
||||
if(!data.success) return;
|
||||
if(!data.success || !data.details.portalV2) return;
|
||||
|
||||
var r = data.details.resonatorArray.resonators;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user