mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 12:23:59 +00:00
Using the correct player object for dispatching the command on powertool use.
This commit is contained in:
parent
998d097d7d
commit
e8fbdef38b
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ public class EssentialsPlayerListener extends PlayerListener
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
user.getServer().dispatchCommand(user, command);
|
user.getServer().dispatchCommand(event.getPlayer(), command);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue