mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-09-12 05:08:48 +00:00
Using the correct player object for dispatching the command on powertool use.
This commit is contained in:
parent
998d097d7d
commit
e8fbdef38b
|
@ -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