PaperMC / Folia

Fork of Paper which adds regionised multithreading to the dedicated server.
GNU General Public License v3.0
3.37k stars 405 forks source link

Spawning multiple Nether Portals before Player teleports #69

Open bunny-the-cat opened 1 year ago

bunny-the-cat commented 1 year ago

Expected behavior

Observed/Actual behavior

-> Many new Portals, one for each item

Steps/models to reproduce

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?

Spottedleaf commented 1 year ago

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.

AloneRUS commented 1 year ago

Is it actual problem now or it was fixed?

phm07 commented 1 year ago

Also happens with players if they enter the portal at the same time.