Use correct getPlayer method to not match offline users.

This commit is contained in:
KHobbits 2013-03-20 01:04:35 +00:00
parent 889157371c
commit 353423efec
28 changed files with 52 additions and 50 deletions

View file

@ -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: