Fixed warnings and deprecation warnings.
This commit is contained in:
@@ -147,9 +147,10 @@ public class WorldEditPlugin extends JavaPlugin {
|
||||
perms.load();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onCommand(CommandSender sender, Command cmd,
|
||||
String commandLabel, String[] args) {
|
||||
if (!sender.isPlayer()) {
|
||||
if (!(sender instanceof Player)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user