playerindicators: add null check on actor name. (#1494)

playerindicators: add null check on actor name.
This commit is contained in:
ST0NEWALL
2019-08-31 05:12:38 -04:00
committed by GitHub

View File

@@ -63,7 +63,7 @@ public class PlayerIndicatorsMinimapOverlay extends Overlay
private void renderMinimapOverlays(Graphics2D graphics, Player actor, PlayerRelation relation)
{
if (!plugin.getLocationHashMap().containsKey(relation))
if (!plugin.getLocationHashMap().containsKey(relation) || actor.getName() == null)
{
return;
}