mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-22 02:25:41 +01:00
Implement DestinationInstance#getIdentifier shortcut
This commit is contained in:
parent
cee6a4879a
commit
e15dd7e69b
@ -24,6 +24,15 @@ public abstract class DestinationInstance<I extends DestinationInstance<I, T>,
|
||||
return this.destination;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the {@link Destination#getIdentifier()} for this instance.
|
||||
*
|
||||
* @return The identifier.
|
||||
*/
|
||||
public @NotNull String getIdentifier() {
|
||||
return this.destination.getIdentifier();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the exact location to teleport an entity to.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user