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

Fixed a few small issues #61

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

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.

Copy link

sonarcloud bot commented Oct 13, 2024

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.

1 participant