NiklasEi / gamebox

Minecraft plugin with a vast selection of inventory games
http://gamebox.nikl.me
GNU General Public License v3.0
16 stars 13 forks source link

Teleporting closes gamebox inventory #54

Closed hafarooki closed 5 years ago

hafarooki commented 5 years ago

Players being moved closes the gamebox inventory. Not sure if this can be fixed but you can keep player inventories open, perhaps you can update the position of the inventory to match their coordinates? I have moving ships on my server and I want people to be able to play minigames during long voyages to pass the time.

NiklasEi commented 5 years ago

I am quite sure, that I cannot do anything against that. Teleporting the players will always close an open inventory.

Matocolotoe commented 5 years ago

You might be able to check if a player has a GameBox inventory opened in a teleport event to re-open it ?

hafarooki commented 5 years ago

You might also be able to use NMS to do that, iirc I had to manually close player's inventory when I was making a smooth teleport method

NiklasEi commented 5 years ago

If you have control over the plugin that makes your ships move, you should implement the smooth teleport function there. I cannot replace all teleports just to give that option.