mirror of
https://github.com/SunNetservers/MiniGames.git
synced 2025-07-21 23:44:43 +02:00
Removes some redundancy between various classes
This commit is contained in:
@ -3,6 +3,7 @@ package net.knarcraft.minigames.arena;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.block.Block;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
@ -83,4 +84,11 @@ public interface Arena {
|
||||
*/
|
||||
@NotNull Location getSpawnLocation();
|
||||
|
||||
/**
|
||||
* Gets this arena's exit location
|
||||
*
|
||||
* @return <p>This arena's exit location, or null if no such location is set.</p>
|
||||
*/
|
||||
@Nullable Location getExitLocation();
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user