Folia icon indicating copy to clipboard operation
Folia copied to clipboard

Spawning multiple Nether Portals before Player teleports

Open bunny-the-cat opened this issue 2 years ago • 3 comments

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?

bunny-the-cat avatar May 03 '23 11:05 bunny-the-cat

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.

Spottedleaf avatar May 14 '23 02:05 Spottedleaf

Is it actual problem now or it was fixed?

AloneRUS avatar Jul 17 '23 19:07 AloneRUS

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

phm07 avatar Jul 18 '23 04:07 phm07