From 9d6b652ad4c5d771fe85ebf01ed89f8bc7370ffc Mon Sep 17 00:00:00 2001 From: gnembon Date: Sun, 1 Dec 2019 03:14:20 -0400 Subject: [PATCH] better block error message --- src/main/java/carpet/script/value/BlockValue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/carpet/script/value/BlockValue.java b/src/main/java/carpet/script/value/BlockValue.java index 5a193f41..485aa5e8 100644 --- a/src/main/java/carpet/script/value/BlockValue.java +++ b/src/main/java/carpet/script/value/BlockValue.java @@ -174,7 +174,7 @@ public class BlockValue extends Value } catch (IndexOutOfBoundsException e) { - throw new InternalExpressionException("Position should be defined either by three coordinates, or a block value"); + throw new InternalExpressionException("Block should be defined either by three coordinates, a block value, or a proper string"); } }