mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-05 14:18:21 +02:00
Fix /r
This commit is contained in:
@@ -66,7 +66,7 @@ public class Commandr extends EssentialsCommand
|
|||||||
{
|
{
|
||||||
if (target.isPlayer())
|
if (target.isPlayer())
|
||||||
{
|
{
|
||||||
ess.getUser(target.isPlayer()).setReplyTo(sender);
|
(target.isPlayer() ? ess.getUser(target.getPlayer()) : ess.getUser(Console.NAME)).setReplyTo(sender);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user