Improve CarpetExpressionException error messages (#1230)

This commit is contained in:
altrisi authored and GitHub committed 2022-01-08 21:09:15 +01:00
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).