diff --git a/src/main/java/org/mvplugins/multiverse/core/destination/DestinationInstance.java b/src/main/java/org/mvplugins/multiverse/core/destination/DestinationInstance.java index 9be28555..a5949f38 100644 --- a/src/main/java/org/mvplugins/multiverse/core/destination/DestinationInstance.java +++ b/src/main/java/org/mvplugins/multiverse/core/destination/DestinationInstance.java @@ -24,6 +24,15 @@ public abstract class DestinationInstance, 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. *