-
-
Notifications
You must be signed in to change notification settings - Fork 46
Description
Problem
vane-portals (1.20.0) behave inconsistent on paper 1.21.10 when teleporting from one world to another.
When walking into the portal, the player does not get teleported. The teleport only happens when entering the portal while looking into a certain direction or traveling at a higher speed (for example with a path induced speed buff). Also the (relative) position and orientation on exit is not consistent and velocity seems to be reset.
This is happening to all our (10-ish) portals as soon as a portal from another world is selected.
Dimension type seems to not matter. The issue happens on overworld, nether or end.
Not sure if the required look-direction is consistent for all portals or the source portal or a source-target portal combination. It seems as if it depends on the axis alignment of the two portals towards each other.
Speed seems to somewhat mitigate the issue, but it is very iconsistent.
I turned on paper debug log, but could not find any related/suspicious log entries.
Steps to Reproduce
- Start a world in 1.21.10.
- Build a portal (3x3, anywhere, in any orientation).
- Add a second world using multiverse-core.
- Build a second portal (3x3, anywhere, in any orientation) in the second world.
- try to teleport through the portal(s) at different angles of approach.
-- Failure condition: Player will not teleport in 99% of cases.
-- Success condition: There will be a very specific approach-direction while walking into the portal that triggers the teleport.
Having a speed buff seems to also improve the chances of being teleported.
Background
On our multiplayer server we use multiverse-core to import previous worlds after an update and connect them via vane-portals.
It seems that not long ago teleportation-logic between worlds was changed in paper:
PaperMC/Paper#13181
I assume that this change might have broken something, but I can not pinpoint the exact issue, so I can not confirm my theory.
Environment
Server:
paper-1.21.10-91.jar
Plugins:
bluemap-5.13-paper.jar
BlueMap-BannerMarker-1.21.10.jar
BlueMapMobs-1.5.1.jar
deathchest-2.2.9.jar
DistantHorizonsSupport-0.11.0.jar
GSit-3.0.0.jar
LuckPerms-Bukkit-5.5.17.jar
multiverse-core-5.3.3.jar
multiverse-netherportals-5.0.3.jar
ProtocolLib-5.4.0.jar
vane-admin-1.20.0.jar
vane-core-1.20.0.jar
vane-portals-1.20.0.jar
vane-trifles-1.20.0.jar
VoidGen-2.3.3.jar