Skip to content

Replace the NMS implementation of resendPackets with Player.updateCommands#471

Merged
JorelAli merged 2 commits intoCommandAPI:dev/devfrom
Sytm:dev/bukkit-update-commands
Jul 21, 2023
Merged

Replace the NMS implementation of resendPackets with Player.updateCommands#471
JorelAli merged 2 commits intoCommandAPI:dev/devfrom
Sytm:dev/bukkit-update-commands

Conversation

@Sytm
Copy link
Copy Markdown

@Sytm Sytm commented Jul 21, 2023

Player.updateCommands has been in the Bukkit API since August 2018 and performs the same actions as the NMS implementations (with an additional check that the player is actually connected to the server).

I also tested it and to no surprise it works like before

@JorelAli JorelAli merged commit 3c8876f into CommandAPI:dev/dev Jul 21, 2023
@JorelAli
Copy link
Copy Markdown
Member

Worth putting a mention in the global changelog so we can keep track of this change for the next release.

willkroboth added a commit to willkroboth/CommandAPI that referenced this pull request Jul 24, 2023
willkroboth added a commit to willkroboth/CommandAPI that referenced this pull request Jul 26, 2023
willkroboth added a commit to willkroboth/CommandAPI that referenced this pull request Aug 6, 2023
willkroboth added a commit to willkroboth/CommandAPI that referenced this pull request Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants