Don't run loop on treatment change if it's an SMB.
This commit is contained in:
parent
eedd2ee28b
commit
5adaff6bc6
1 changed files with 3 additions and 1 deletions
|
@ -151,7 +151,9 @@ public class LoopPlugin implements PluginBase {
|
||||||
|
|
||||||
@Subscribe
|
@Subscribe
|
||||||
public void onStatusEvent(final EventTreatmentChange ev) {
|
public void onStatusEvent(final EventTreatmentChange ev) {
|
||||||
invoke("EventTreatmentChange", true);
|
if (ev.treatment == null || !ev.treatment.isSMB){
|
||||||
|
invoke("EventTreatmentChange", true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Subscribe
|
@Subscribe
|
||||||
|
|
Loading…
Reference in a new issue