Improve CarpetExpressionException error messages (#1230)
This commit is contained in:
1 parent
de305f4284
commit
f2989d51fd
2 files changed
+4
-4
No files matched your search
@@ -91,7 +91,7 @@ public class CarpetExpression
|
||||
public Value scriptRunCommand(ScriptHost host, BlockPos pos)
|
||||
{
|
||||
if (CarpetServer.scriptServer.stopAll)
|
||||
throw new CarpetExpressionException("SCRIPTING PAUSED", null);
|
||||
throw new CarpetExpressionException("SCRIPTING PAUSED (unpause with /script resume)", null);
|
||||
try
|
||||
{
|
||||
Context context = new CarpetContext(host, source, origin).
|
||||
|
||||
Reference in new issue
Block a user