v2.0.0: added a safety check to AttackIndicator

This commit is contained in:
Evan Debenham
2023-02-24 12:21:28 -05:00
parent c9f6aba915
commit d641676aa3

View File

@@ -187,6 +187,7 @@ public class AttackIndicator extends Tag {
}
public static void target(Char target ) {
if (target == null) return;
synchronized (instance) {
instance.lastTarget = (Mob) target;
instance.updateImage();