diff --git a/src/main/java/carpet/script/Expression.java b/src/main/java/carpet/script/Expression.java index a61467c0..31942f11 100644 --- a/src/main/java/carpet/script/Expression.java +++ b/src/main/java/carpet/script/Expression.java @@ -1546,7 +1546,7 @@ public class Expression implements Cloneable * the current loop, using break. break and continue can only be used inside * for, while, loop, map, filter and reduce functions, while break can be used in first as well. * Outside of the internal expressions of these functions, calling break or continue will cause an - * error.

+ * error. In case of the nexted loops, and more complex setups, use custom try and throw setup.

*

Please check corresponding loop function description what continue and break do in their contexts, * but in general case, passed values to break and continue will be used in place of the return value of the * internal iteration expression.