Add RegionSystem.getWorldSpawn

Fix Warp
Update FixedRegionSystem
This commit is contained in:
2025-08-02 08:39:46 +02:00
parent 30db0bb718
commit 06de120fe1
3 changed files with 16 additions and 2 deletions
@@ -42,6 +42,12 @@ public interface RegionSystem {
*/
void save();
/**
* Returns the Location to teleport players to when they first join or Warp to "WorldSpawn"
*/
@NonNull
Location getWorldSpawn();
/**
* Returns the GlobalRegion. This Region should have their {@link Region#getID()} return the
* '00000000-0000-0000-0000-000000000000' UUID for easier retrieval with {@link #getRegion(UUID)}.