Get rid of the command sender interface entirely
This commit is contained in:
parent
8b0a650b48
commit
4cbbee7db0
57 changed files with 192 additions and 301 deletions
|
|
@ -155,4 +155,9 @@ public class JLineCommandManager extends CommandManager<JLineCommandSender, Simp
|
|||
return SimpleCommandMeta.empty();
|
||||
}
|
||||
|
||||
@Override
|
||||
public final boolean hasPermission(@Nonnull final JLineCommandSender sender, @Nonnull final String permission) {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,15 +23,6 @@
|
|||
//
|
||||
package com.intellectualsites.commands.jline;
|
||||
|
||||
import com.intellectualsites.commands.sender.CommandSender;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
public class JLineCommandSender implements CommandSender {
|
||||
|
||||
@Override
|
||||
public final boolean hasPermission(@Nonnull final String permission) {
|
||||
return true;
|
||||
}
|
||||
public class JLineCommandSender {
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue