Skip to content

Conversation

@Waterman1001
Copy link
Contributor

This PR adds the following changes:

  • Crafting Tables cannot be destroyed after placement because interaction was disabled on both mouse clicks. I have added an extra check that simply allows Left button clicks to come through, such that in the BuildBattle arena players can still destroy the block. Note that these changes are made with the intention of fixing problems in BuildBattle, while the MiniGamesBox api is used in various plugins. Since I am not totally sure about the side effects there, an investigation there might be a good idea.
  • GetSkull method did not work anymore for 1.21, so I have altered it a little such that it works again. This way, ItemMeta can be properly gotten from the ItemUtils class.
  • Players leaving (quitting the server) during a BuildBattle game would respawn within the Arena. I have changed this such that the server remembers in memory that they logged out during a game, and will make sure that on-join, the players are teleported back to the 'Arena-Endpoint', instead of their last login location.

@sonarqubecloud
Copy link

@Tigerpanzer02
Copy link
Member

Appreciate your work here! Just one thing your new playerprofile fetch just works for paper so I will merge and rewrite it to only use your code if paper is available

@Tigerpanzer02 Tigerpanzer02 merged commit 5272ea5 into Plugily-Projects:master Jan 21, 2025
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.

2 participants