fix: unable to leave regions when unloaded
This commit is contained in:
parent
e9cd803e99
commit
701a5ff620
6 changed files with 47 additions and 13 deletions
|
|
@ -1,12 +1,16 @@
|
|||
package de.kentoj.scrow.bukkit.region;
|
||||
|
||||
import de.kentoj.scrow.bukkit.region.impl.Region;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
public interface RegionManager {
|
||||
List<Region> getRegions(ChunkPos chunkPos);
|
||||
|
||||
@Nullable Region getRegion(UUID regionUuid);
|
||||
|
||||
void registerRegion(Region region);
|
||||
|
||||
void unregisterRegion(Region region);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue