Make documentation-wording more clear

This commit is contained in:
Lukas Rieger (Blue) 2022-12-03 23:21:30 +01:00
parent 99e43dd19b
commit 6b78d0d433
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2
1 changed files with 4 additions and 2 deletions

View File

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