fix yet another chip mc moment
This commit is contained in:
parent
3f7ee544e2
commit
c75b0c1d09
1 changed files with 1 additions and 3 deletions
|
@ -24,10 +24,8 @@ public class EchoCommand extends Command {
|
|||
|
||||
public int echo (CommandContext<CommandSource> context) {
|
||||
final CommandSource source = context.getSource();
|
||||
final ChipmunkBot client = source.client();
|
||||
final String text = getString(context, "echo");
|
||||
|
||||
client.core().run(getString(context, "command"));
|
||||
final String text = getString(context, "command");
|
||||
source.sendOutput(Component.text(text));
|
||||
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue