servereval commandexception fix (mabe major)
well im only the one that has access to servereval anyway actually the some of chomens discord members too but whatever
This commit is contained in:
parent
5d792b30a5
commit
6a75527674
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@ public class ServerEvalCommand extends Command {
|
||||||
final LuaValue output = chunk.call();
|
final LuaValue output = chunk.call();
|
||||||
|
|
||||||
return Component.text(output.toString()).color(NamedTextColor.GREEN);
|
return Component.text(output.toString()).color(NamedTextColor.GREEN);
|
||||||
|
} catch (CommandException e) {
|
||||||
|
throw e;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new CommandException(Component.text(e.toString()));
|
throw new CommandException(Component.text(e.toString()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue