Skip to content

Conversation

@tastybento
Copy link
Member

No description provided.

This uses the portal cooldown function to debounce the events. The
entities immediately enter the portal after they exit because they tend
not to move if there is no player on the other side, however they do not
teleport, so they don't exit.

In addition, the inPortal and inTeleport sets now use ExpiringSet
defensively to remove any values after 10 seconds, which should be more
than enough of time to complete any teleporting. This is defensive code
but will prevent memory leak build up.
@sonarqubecloud
Copy link

@tastybento tastybento merged commit 0be7cdc into master Nov 15, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants