BentoBox icon indicating copy to clipboard operation
BentoBox copied to clipboard

Resets all island on /ob reset

Open Mithranduil opened this issue 1 year ago • 1 comments

Expected behavior

it should only reset the island the player stands on

Observed/Actual behavior

it resets sometimes all islands

Steps/models to reproduce

use the /ob reset command if your not standing directly on an island or on an island

it asks to confirm i confirm with the command, it resets sometimes ALL islands, not only one

BentoBox version

23.02 14:13:44 [Server] INFO Ausfren von PAPER 1.20.4. 23.02 14:13:44 [Server] INFO BentoBox version: 2.0.0 23.02 14:13:44 [Server] INFO Datenbank: JSON 23.02 14:13:44 [Server] INFO Geladene Spielewelten: 23.02 14:13:44 [Server] INFO ob (OneBlock): Oberwelt, Nether, End 23.02 14:13:44 [Server] INFO Geladene Addons: 23.02 14:13:44 [Server] INFO AOneBlock 1.15.1-SNAPSHOT-b390 (ENABLED) 23.02 14:13:44 [Server] INFO Border 4.2.2-SNAPSHOT-b195 (ENABLED) 23.02 14:13:44 [Server] INFO Chat 1.2.0 (ENABLED)

Plugin list

No response

Other

No response

Mithranduil avatar Feb 23 '24 13:02 Mithranduil

Hmm, I cannot replicate this yet. I have done a code walkthrough and I cannot find a way how this would happen when resetting your island. However, if a player accepts a team invite, then all their islands will be deleted because team members cannot have multiple islands. The current text on this is old and says that only your current island will be deleted, but that was from before multi-islands. I'll fix that. Other than that, I'm stumped as to how this could happen. If you get some kind of replication steps, please let me know.

tastybento avatar Feb 24 '24 23:02 tastybento