mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-05 05:21:36 +00:00
Cleanup
This commit is contained in:
parent
be31b1695d
commit
64e089e15b
12 changed files with 15 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue