mirror of https://github.com/kami-blue/client
Fix AutoTrap crashing if you left it enabled
This commit is contained in:
parent
898fb71a2c
commit
b01c57968b
|
@ -143,7 +143,7 @@ public class AutoTrap extends Module {
|
|||
|
||||
findClosestTarget();
|
||||
|
||||
if (closestTarget == null) {
|
||||
if (closestTarget == null || lastTargetName == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue