package com.tisawesomeness.minecord.command.player;

import com.tisawesomeness.minecord.command.Command;
import com.tisawesomeness.minecord.command.Module;

public abstract class AbstractPlayerCommand extends Command {
    @Override
    public final Module getModule() {
        return Module.PLAYER;
    }
}

@@ -145,16 +145,146 @@
 and.
-Module;%0A
+CommandContext;%0Aimport com.tisawesomeness.minecord.command.Module;%0A%0Aimport lombok.extern.slf4j.Slf4j;%0A%0Aimport java.io.IOException;%0A%0A@Slf4j
 %0Apub
@@ -430,10 +430,332 @@
 ;%0A    %7D%0A
+%0A    protected static void handleIOE(Throwable ex, CommandContext ctx, String errorMessage) %7B%0A        if (ex instanceof IOException) %7B%0A            log.error(errorMessage, ex);%0A            ctx.err(ctx.getLang().i18n(%22mc.external.mojang.error%22));%0A            return;%0A        %7D%0A        throw new RuntimeException(ex);%0A    %7D%0A%0A
 %7D%0A

Patch last commit