From df16a3561a785dabb8ef68b717d4aefbc45625d4 Mon Sep 17 00:00:00 2001 From: gnembon Date: Mon, 27 Jul 2020 03:13:31 -0300 Subject: [PATCH] better error message --- src/main/java/carpet/script/value/ListValue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/carpet/script/value/ListValue.java b/src/main/java/carpet/script/value/ListValue.java index 4aca8e41..b0cbfb16 100644 --- a/src/main/java/carpet/script/value/ListValue.java +++ b/src/main/java/carpet/script/value/ListValue.java @@ -367,7 +367,7 @@ public class ListValue extends AbstractListValue implements ContainerValueInterf return put(where, value, false, true); if (condition.equalsIgnoreCase("replace")) return put(where, value, true, false); - throw new InternalExpressionException("List 'put' modifier could be either 'insert', or 'replace'"); + throw new InternalExpressionException("List 'put' modifier could be either 'insert', 'replace', or extend"); } @Override