tobdamagecount: null check interacting. (#2027)

This commit is contained in:
Ganom
2019-11-13 11:21:00 -05:00
committed by Lucwousin
parent fd6a0e7f51
commit 9802866c90

View File

@@ -204,7 +204,7 @@ public class DamageCounterPlugin extends Plugin
Player localPlayer = client.getLocalPlayer();
Actor interacting = localPlayer.getInteracting();
if (interacting.getName() == null)
if (interacting == null || interacting.getName() == null)
{
return;
}