diff --git a/src/com/massivecraft/mcore/cmd/MCommand.java b/src/com/massivecraft/mcore/cmd/MCommand.java index 9cc27c6b..51348c4e 100644 --- a/src/com/massivecraft/mcore/cmd/MCommand.java +++ b/src/com/massivecraft/mcore/cmd/MCommand.java @@ -510,7 +510,7 @@ public abstract class MCommand public T argConcatFrom(int idx, ArgReader argReader) { - return this.arg(idx, argReader, null); + return this.argConcatFrom(idx, argReader, null); } public T argConcatFrom(int idx, ArgReader argReader, T defaultNotSet) @@ -531,6 +531,8 @@ public abstract class MCommand public T arg(ArgReader argReader) { - return this.arg(null, argReader, null); + ArgResult result = argReader.read(null, this.sender); + if (result.hasErrors()) this.msg(result.getErrors()); + return result.getResult(); } }