From 6b78d0d43391cff6727888640fc5b1ca7034499a Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Sat, 3 Dec 2022 23:21:30 +0100 Subject: [PATCH] Make documentation-wording more clear --- src/main/java/de/bluecolored/bluemap/api/WebApp.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/bluecolored/bluemap/api/WebApp.java b/src/main/java/de/bluecolored/bluemap/api/WebApp.java index 2d89519..39a215f 100644 --- a/src/main/java/de/bluecolored/bluemap/api/WebApp.java +++ b/src/main/java/de/bluecolored/bluemap/api/WebApp.java @@ -58,7 +58,8 @@ public interface WebApp { /** * Registers a css-style so the webapp loads it.
- * This method should only be used inside the {@link Consumer} that got registered to {@link BlueMapAPI#onEnable(Consumer)}.
+ * This method should only be used inside the {@link Consumer} that got registered (before bluemap loaded, + * pre server-start!) to {@link BlueMapAPI#onEnable(Consumer)}.
* Invoking this method at any other time is not supported.
* Style-registrations are not persistent, register your style each time bluemap enables! *

@@ -76,7 +77,8 @@ public interface WebApp { /** * Registers a js-script so the webapp loads it.
- * This method should only be used inside the {@link Consumer} that got registered to {@link BlueMapAPI#onEnable(Consumer)}.
+ * This method should only be used inside the {@link Consumer} that got registered (before bluemap loaded, + * pre server-start!) to {@link BlueMapAPI#onEnable(Consumer)}.
* Invoking this method at any other time is not supported.
* Script-registrations are not persistent, register your script each time bluemap enables! *