AdminTeamDisbandCommand pass wrong player to the TeamKickEvent #1216
Labels
Status: Done
This issue has been completed or answered. This pull request has been merged.
Type: Bug
Milestone
Description
Describe the bug
When you do / sbadmin disband <player> and trigger TeamKickEvent, event.getPlayer() give you <player> of the command, not the kicked Player
Steps to reproduce the behavior
Expected behavior
TeamKickEvent gives you the right kicked player
Screenshots and videos (Optional)
Environment
BentoBox Version (Mandatory)
Plugins (Optional)
Additional context (Optional)
The text was updated successfully, but these errors were encountered: