make Trust modification module less laggy
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m7s

This commit is contained in:
Daniella / Tove 2024-06-12 22:36:16 +02:00
parent 3e94eca157
commit 21cd5985b4
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -51,6 +51,7 @@ public class Trust extends Feature {
friend = player.getBoolean("friend") == Boolean.TRUE; friend = player.getBoolean("friend") == Boolean.TRUE;
target = player.getBoolean("target") == Boolean.TRUE; target = player.getBoolean("target") == Boolean.TRUE;
tpa = player.getBoolean("tpa") == Boolean.TRUE; tpa = player.getBoolean("tpa") == Boolean.TRUE;
handle.poll();
} }
@Override @Override
@ -72,6 +73,7 @@ public class Trust extends Feature {
player.set("target", target); player.set("target", target);
player.set("tpa", tpa); player.set("tpa", tpa);
toggle(); toggle();
handle.poll();
} }
@Override @Override