mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-14 10:34:41 +02:00
Using the correct player object for dispatching the command on powertool use.
This commit is contained in:
@@ -465,7 +465,7 @@ public class EssentialsPlayerListener extends PlayerListener
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
user.getServer().dispatchCommand(user, command);
|
user.getServer().dispatchCommand(event.getPlayer(), command);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user