Removes some redundancy between various classes

This commit is contained in:
2023-04-25 13:11:11 +02:00
parent 7c04e91024
commit b2fbaf0e68
17 changed files with 285 additions and 387 deletions

View File

@ -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();
}