Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AdminTeamDisbandCommand pass wrong player to the TeamKickEvent #1216

Closed
EscanorTargaryen opened this issue Mar 5, 2020 · 0 comments
Closed
Assignees
Labels
Status: Done This issue has been completed or answered. This pull request has been merged. Type: Bug
Milestone

Comments

@EscanorTargaryen
Copy link

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)
Running SPIGOT 1.15.2
BentoBox version: 1.12.0-SNAPSHOT-b1675
Database: JSON
Loaded Game Worlds:
bskyblock_world (BSkyBlock): Overworld, Nether, The End

Plugins (Optional)

_______

Additional context (Optional)

@tastybento tastybento self-assigned this Mar 6, 2020
@tastybento tastybento added the Status: Under investigation Investigating the interest and the feasability of the issue. label Mar 6, 2020
@tastybento tastybento added Status: Done This issue has been completed or answered. This pull request has been merged. Type: Bug and removed Status: Under investigation Investigating the interest and the feasability of the issue. labels Mar 6, 2020
@Poslovitch Poslovitch added this to the 1.12.0 milestone Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Done This issue has been completed or answered. This pull request has been merged. Type: Bug
Projects
None yet
Development

No branches or pull requests

3 participants