Make reaction available when retrieving output from trigger.
[rhynodge.git] / src / main / java / net / pterodactylus / reactor / Trigger.java
index fbd9d07..277eeb6 100644 (file)
@@ -46,8 +46,10 @@ public interface Trigger {
         * Returns the output of this trigger. This will only return a meaningful
         * value if {@link #triggers(State, State)} returns {@code true}.
         *
+        * @param reaction
+        *            The reaction being triggered
         * @return The output of this trigger
         */
-       Output output();
+       Output output(Reaction reaction);
 
 }