Using the correct player object for dispatching the command on powertool use.

This commit is contained in:
snowleo 2011-09-05 22:59:37 +02:00
parent 998d097d7d
commit e8fbdef38b

View File

@ -465,7 +465,7 @@ public class EssentialsPlayerListener extends PlayerListener
}
else
{
user.getServer().dispatchCommand(user, command);
user.getServer().dispatchCommand(event.getPlayer(), command);
}
}
}