make Trust modification module less laggy
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m7s
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m7s
This commit is contained in:
parent
3e94eca157
commit
21cd5985b4
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue