Port to 1.11

This commit is contained in:
yueh
2016-12-08 12:42:00 +01:00
parent 589730bfad
commit ed9e6dd21c
262 changed files with 4027 additions and 3954 deletions
+3 -3
View File
@@ -44,13 +44,13 @@ public final class AECommand extends CommandBase
}
@Override
public String getCommandName()
public String getName()
{
return "ae2";
}
@Override
public String getCommandUsage( final ICommandSender icommandsender )
public String getUsage( final ICommandSender icommandsender )
{
return "commands.ae2.usage";
}
@@ -90,7 +90,7 @@ public final class AECommand extends CommandBase
try
{
final Commands c = Commands.valueOf( args[0] );
if( sender.canCommandSenderUseCommand( c.level, this.getCommandName() ) )
if( sender.canUseCommand( c.level, this.getName() ) )
{
c.command.call( this.srv, args, sender );
}