diff --git a/overviewer_core/aux_files/genPOI.py b/overviewer_core/aux_files/genPOI.py index 21a0784..7fadcc4 100755 --- a/overviewer_core/aux_files/genPOI.py +++ b/overviewer_core/aux_files/genPOI.py @@ -280,7 +280,7 @@ def handlePlayers(worldpath, filters, markers): data.use_uuid = useUUIDs if isSinglePlayer: data = data['Data']['Player'] - except IOError: + except (IOError, TypeError): logging.warning("Skipping bad player dat file %r", playerfile) continue