Nether portal creation isn't properly blocked #13

Closed
opened 2021-10-31 23:42:55 +01:00 by EpicKnarvik97 · 1 comment

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.

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.
EpicKnarvik97 added the
bug
label 2021-10-31 23:42:55 +01:00
EpicKnarvik97 self-assigned this 2021-10-31 23:42:55 +01:00
Author
Owner

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.

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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: EpicKnarvik97/Stargate#13
No description provided.