BentoBoxWorld / BentoBox

Expandable Minecraft server plugin for island-type games like SkyBlock or AcidIsland.
https://bentobox.world
Eclipse Public License 2.0
333 stars 137 forks source link

Island team GUI head getter #2423

Closed huguyt closed 3 months ago

huguyt commented 3 months ago

Expected behavior

It should not be in the Inventory.

Observed/Actual behavior

It appears in the Inventory.

Steps/models to reproduce

When the island owner invites the player to join the island as a member. image Left Click The Player Head image The invited person enters /is team image Shift Left Click Player Head image Then the item is added to the inventory of the invited player.

BentoBox version

bbox version 20:25:27 INFO: Running PAPER 1.21.

20:25:27 INFO: BentoBox version: 2.4.1-SNAPSHOT-b2659 20:25:27 INFO: Database: JSON 20:25:27 INFO: Loaded Game Worlds: 20:25:27 INFO: bskyblock_world (BSkyBlock): Overworld, Nether, The End 20:25:27 INFO: Loaded Addons: 20:25:27 INFO: BSkyBlock 1.18.0 (ENABLED)

Plugin list

plugins [20:25:35 INFO]: Server Plugins (3): [20:25:35 INFO]: Bukkit Plugins: [20:25:35 INFO]: - BentoBox, BentoBox-BSkyBlock, FastAsyncWorldEdit

Other

Although it will disappear when you click it in survival mode, it will still remain in creative mode. Even if the player who sent the invitation is in creative mode, the items in the GUI will go into the Inventory of the player who sent the invitation. image Any GUI operation involving Shift + Left Or Right Click seems to have this problem

tastybento commented 3 months ago

Okay. I think this is a client issue because the inventory grabbing is cancelled (it disappears). I'm not sure if we can do anything about this...

huguyt commented 3 months ago

This problem is especially annoying in creative mode. The following example might be sensitive, and I sincerely do not intend to cause any offense. The DeluxeMenu plugin performs similar operations without this problem.

https://github.com/BentoBoxWorld/BentoBox/assets/147026380/3d6d4690-084e-4ecf-a0b6-409bb1b245d8

This is my DeluxeMenu menu file. image Would it be possible for you to also use this approach with BentoBox Due to my limited knowledge, I couldn’t find how it works.

tastybento commented 3 months ago

Found the issue and it's fixed in the next release or the snapshot. Thanks!