Fix AutoTrap crashing if you left it enabled

This commit is contained in:
Bella 2020-05-05 22:00:01 -04:00
parent 898fb71a2c
commit b01c57968b
No known key found for this signature in database
GPG Key ID: DBD4A6030080C8B3
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ public class AutoTrap extends Module {
findClosestTarget();
if (closestTarget == null) {
if (closestTarget == null || lastTargetName == null) {
return;
}