Skip to content

Commit 6b78d0d

Browse files
committed
Make documentation-wording more clear
1 parent 99e43dd commit 6b78d0d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main/java/de/bluecolored/bluemap/api/WebApp.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ public interface WebApp {
5858

5959
/**
6060
* Registers a css-style so the webapp loads it.<br>
61-
* This method should only be used inside the {@link Consumer} that got registered to {@link BlueMapAPI#onEnable(Consumer)}.<br>
61+
* This method should only be used inside the {@link Consumer} that got registered <i>(before bluemap loaded,
62+
* pre server-start!)</i> to {@link BlueMapAPI#onEnable(Consumer)}.<br>
6263
* Invoking this method at any other time is not supported.<br>
6364
* Style-registrations are <b>not persistent</b>, register your style each time bluemap enables!
6465
* <p>
@@ -76,7 +77,8 @@ public interface WebApp {
7677

7778
/**
7879
* Registers a js-script so the webapp loads it.<br>
79-
* This method should only be used inside the {@link Consumer} that got registered to {@link BlueMapAPI#onEnable(Consumer)}.<br>
80+
* This method should only be used inside the {@link Consumer} that got registered <i>(before bluemap loaded,
81+
* pre server-start!)</i> to {@link BlueMapAPI#onEnable(Consumer)}.<br>
8082
* Invoking this method at any other time is not supported.<br>
8183
* Script-registrations are <b>not persistent</b>, register your script each time bluemap enables!
8284
* <p>

0 commit comments

Comments
 (0)