Folia
Folia copied to clipboard
Spawning multiple Nether Portals before Player teleports
Expected behavior
- Build a new Nether Portal
- Throw X Items through it
- Step into Portal -> 1 Portal with dropped items
Observed/Actual behavior
-> Many new Portals, one for each item
Steps/models to reproduce
- Go to Nether
- Build a new portal, in an Area where no other portals are
- Activate portal
- Throw X items through the portal
- After X Items use Portal with player -> X Target Portals are generated when generating new Chunks
Plugin and Datapack List
Plugins: BlueMap-3.13-folia Datapacks: none
Folia version
git-Folia-"41c5548" (MC: 1.19.4)
Other
Maybe an Exploit for Obsidian?
I explicitly added code to check for existing portals before creating one, but it looks like the POI update is delayed by 1 tick so there's still a window where this can happen. Not sure how to deal with this.
Is it actual problem now or it was fixed?
Also happens with players if they enter the portal at the same time.