[SPIGOT-7179] PortalCreateEvent doesn't fire, if the player creates an end portal Created: 30/Oct/22 Updated: 25/Dec/24 Resolved: 06/Nov/22 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | NotMyFault | Assignee: | Doc |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Version: | This server is running CraftBukkit version 3604-Spigot-1aec3fc-f43634a (MC: 1.19.2) (Implementing API version 1.19.2-R0.1-SNAPSHOT) |
Guidelines Read: | Yes |
Description |
If the player creates an end portal, the PortalCreateEvent event doesn't fire. The only occasion it fires is when the player creates a nether portal. A quick PoC is available at https://github.com/NotMyFault/PortalCreateEvent-PoC |
Comments |
Comment by Doc [ 30/Oct/22 ] |
not sure since when.. but i think the event works with players based in a fixed past issue (? |
Comment by md_5 [ 30/Oct/22 ] |
Did it ever used to fire? |
Comment by Doc [ 30/Oct/22 ] |
Okay i found the issue.. the event its only called for entities and not players for the END case... i make a PR for handle this. https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/1115/overview |
Comment by NotMyFault [ 30/Oct/22 ] |
> if you mean about the exit portal or another portal. A portal you can build yourself, when the player is in creative mode e.g. |
Comment by Doc [ 30/Oct/22 ] |
Hi, can you provide steps for check this, for me im confuse if you mean about the exit portal or another portal. |