Update guess-player-levels.user.js
Plugin would hang if non-portal data was loaded (ex: deleted portal)
This commit is contained in:
		@@ -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;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user