mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-24 06:23:59 +00:00
Cleanup
This commit is contained in:
parent
be31b1695d
commit
64e089e15b
12 changed files with 15 additions and 15 deletions
|
@ -64,9 +64,9 @@ public class Commandr extends EssentialsCommand
|
|||
replyTo.setReplyTo(target);
|
||||
if (target != sender)
|
||||
{
|
||||
if (target instanceof Player)
|
||||
if (target.isPlayer())
|
||||
{
|
||||
ess.getUser((Player)target).setReplyTo(sender);
|
||||
ess.getUser(target.isPlayer()).setReplyTo(sender);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue