Stargate Rewritten

Stargate Rewritten

241 Downloads

Entity collision can cause the player to enter the destination portal (Cross server/world)

Pheotis opened this issue ยท 1 comments

commented

Bug Description

Going through a boat in a U gate causes the player to go to another server, the boat to remain on the original server, and the player to get bumped back into the portal if they return.

Reproduction Steps

See this comment (reported on discord).

  1. Make two U gates across different servers.
  2. Go through one in a boat
  3. Return to the origin server

Desired Behaviour

The user should not get shoved back into the U gate, no matter what obstructions are in its way.

Could probably either prevent entity knockback/pushing within a small radius of a gate, or perhaps try to move blocking entities away from the gate whenever someone enters from another server?

Observed Behaviour

The boat bumps the user back into the U gate.

Trace Logs

No response

Other Information

Latest nightly on paper 1.20.6

commented

We could just temporarily disable collisions on the player

This seems like it would be an issue for normal gates as well