WorldGuard

WorldGuard

8M Downloads

You get teleported in the air when entering a region with a horse

Leguan16 opened this issue ยท 1 comments

commented

WorldEdit Version

7.2.14

WorldGuard Version

7.0.7

Platform Version

Paper-521

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using a version of WorldGuard compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

When I set up a region with the flag entry: deny and try to enter the region with a player - that is not allowed to enter that region- sitting on a horse I get teleported in the air

2023-04-28_18-09-17_Trim.mp4

Expected Behavior

I expect to not be teleported in the air.

Reproduction Steps

  1. set up a region
  2. add flag entry: deny
  3. mount a hourse
  4. try enter the region

Optional WorldGuard-Report

https://paste.enginehub.org/R3KV-TKM1.report

Anything Else?

Here is the region config:

regions:
    test:
        min: {x: -50, y: 63, z: -180}
        max: {x: -47, y: 67, z: -176}
        members: {}
        flags: {entry: deny}
        owners: {}
        type: cuboid
        priority: 0
commented

seems like there's some server desync when you get dismounted there. WG tries pretty hard to teleport both the player and the horse back to valid locations, but the server is convinced you're actually still in the region.
minecraft has historically been really bad about state syncing with vehicle mounting/dismounting, and there's likely nothing more we can do here. maybe once we drop spigot we can use paper's teleport api which allows us to retain vehicles which would cut down on all the eject and teleport hacks.

that said i can't actually reproduce this.

javaw_0OeiyCsvXv.mp4