Nether portal creation isn't properly blocked #13
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
While there is a check to prevent nether portals from generating in the Nether whenever Stargates are created, it seems to be ineffective.
We need to find a working method of properly detecting and cancelling an event where the Stargate causes a nether portal to spawn.
This has been fixed by
b98aec4a20
which uses the location of the entity creating the portal to decide if it's caused by a player entering a Stargate. Unfortunately, it seems the PortalCreateEvent is triggered every time a player enters a Stargate. I would prefer a more permanent solution, but it seems to work.