Multiverse-Portals

Multiverse-Portals

2M Downloads

Player's gamemode isn't changed if they pass through a portal at high speed (i.e. with an Elytra)

RalphORama opened this issue ยท 2 comments

commented

Information

Details

I was able to reproduce my issue on a freshly setup and up-to-date server with the latest version of Multiverse plugins with no other plugins and with no kinds of other server or client mods.

Description

I have two worlds, a creative world and a survival world. I linked them together with Multiverse Portals (shaped like nether portals). In most cases, players' gamemodes are changed to creative/survival when passing through these portals. However, if a player in the survival world builds up sufficient speed before entering a portal (i.e. by divebombing with an elytra), their gamemode isn't changed when they pass through the portal. This allows players to enter the creative world but stay in survival mode, and vice-versa.

Steps to reproduce

  1. Create a pair of portals linking gamemode:creative and gamemode:survival multiverse worlds
  2. In the survival world, equip an elytra
  3. Using fireworks or another method, go super high up, then build up a lot of speed by dive-bombing towards the portal
  4. Pass through the bottom of the portal at high speed
  5. You should now be in the creative world but still in survival mode.

Expected behavior

Players' gamemodes are changed to the world's gamemode regardless of how they access the portal.

Screenshots

Here's what my portals look like:

2020-10-19_00 01 52
2020-10-19_00 01 43

commented

This is a rather interesting issue...

Could you try the test build of #584 and let us know if it still happens?

commented

It shouldn't matter tho, gamemode isn't handled by mv-portals. As long as the teleport event triggers properly... unless some underlying issues with mv-core, assuming your gamemode handling is by mv