Skip to content
Snippets Groups Projects
Commit c5c2e7a8 authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

#183 - Allow controlling own cart in cart trigger

parent 023e4e37
No related branches found
No related tags found
No related merge requests found
...@@ -64,14 +64,12 @@ public class CartTriggerItem extends TriggerItem implements LocalPadTrigger { ...@@ -64,14 +64,12 @@ public class CartTriggerItem extends TriggerItem implements LocalPadTrigger {
} }
} else { } else {
for (UUID uuid : uuids) { for (UUID uuid : uuids) {
if (!uuid.equals(source.getUuid())) {
Pad pad = project.getPad(uuid); Pad pad = project.getPad(uuid);
if (pad != null) if (pad != null)
pad.setStatus(newStatus); pad.setStatus(newStatus);
} }
} }
} }
}
@Override @Override
public TriggerItem copy() { public TriggerItem copy() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment