mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-31 09:52:57 +00:00
Use correct getPlayer method to not match offline users.
This commit is contained in:
parent
889157371c
commit
353423efec
28 changed files with 52 additions and 50 deletions
|
@ -118,7 +118,7 @@ public class Commandeco extends EssentialsCommand
|
|||
}
|
||||
else
|
||||
{
|
||||
final User player = getPlayer(server, args, 1, true);
|
||||
final User player = getPlayer(server, args, 1, true, true);
|
||||
switch (cmd)
|
||||
{
|
||||
case GIVE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue