Don't run loop on treatment change if it's an SMB.

This commit is contained in:
Johannes Mockenhaupt 2018-02-02 18:59:05 +01:00
parent eedd2ee28b
commit 5adaff6bc6
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -151,8 +151,10 @@ public class LoopPlugin implements PluginBase {
@Subscribe
public void onStatusEvent(final EventTreatmentChange ev) {
if (ev.treatment == null || !ev.treatment.isSMB){
invoke("EventTreatmentChange", true);
}
}
@Subscribe
public void onStatusEvent(final EventAutosensCalculationFinished ev) {