aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewerPage.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewerPage.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewerPage.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewerPage.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewerPage.java
index 2c7fd9f4..bb6baa41 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewerPage.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewerPage.java
@@ -19,6 +19,7 @@
package io.github.moulberry.notenoughupdates.profileviewer;
+import javax.annotation.Nullable;
import java.io.IOException;
public abstract class GuiProfileViewerPage {
@@ -36,6 +37,13 @@ public abstract class GuiProfileViewerPage {
return instance;
}
+ /**
+ * @see GuiProfileViewer#getSelectedProfile()
+ */
+ public @Nullable SkyblockProfiles.SkyblockProfile getSelectedProfile() {
+ return GuiProfileViewer.getSelectedProfile();
+ }
+
public abstract void drawPage(int mouseX, int mouseY, float partialTicks);
/**