This commit is contained in:
KHobbits 2013-10-18 00:04:17 +01:00
parent be31b1695d
commit 64e089e15b
12 changed files with 15 additions and 15 deletions

View file

@ -36,7 +36,7 @@ public class Commandtempban extends EssentialsCommand
}
else
{
if (user.isAuthorized("essentials.tempban.exempt") && sender instanceof Player)
if (user.isAuthorized("essentials.tempban.exempt") && sender.isPlayer())
{
sender.sendMessage(_("tempbanExempt"));
return;