playerindicators: add null check on actor name. (#1494)
playerindicators: add null check on actor name.
This commit is contained in:
@@ -63,7 +63,7 @@ public class PlayerIndicatorsMinimapOverlay extends Overlay
|
|||||||
|
|
||||||
private void renderMinimapOverlays(Graphics2D graphics, Player actor, PlayerRelation relation)
|
private void renderMinimapOverlays(Graphics2D graphics, Player actor, PlayerRelation relation)
|
||||||
{
|
{
|
||||||
if (!plugin.getLocationHashMap().containsKey(relation))
|
if (!plugin.getLocationHashMap().containsKey(relation) || actor.getName() == null)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user