Removed unneeded null check, according to eclipse :3

This commit is contained in:
bm01
2012-07-03 03:52:12 +02:00
parent 7799acec05
commit 1443e2f6b8
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ public class CommandHelper {
if (sender instanceof Player) {
Player player = (Player) sender;
if (player != null && !Permissions.getInstance().permission(player, permission)) {
if (!Permissions.getInstance().permission(player, permission)) {
player.sendMessage(LocaleLoader.getString("mcMMO.NoPermission"));
return true;
}