v2.0.0: added a safety check to AttackIndicator
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user