better block error message
This commit is contained in:
1 parent
b52b5c335f
commit
9d6b652ad4
1 file changed
+1
-1
@@ -174,7 +174,7 @@ public class BlockValue extends Value
|
|||||||
}
|
}
|
||||||
catch (IndexOutOfBoundsException e)
|
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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user