Skip to content

Commit 622e030

Browse files
committed
improve javadocs for finalize MapView(
1 parent 32e51fa commit 622e030

File tree

1 file changed

+4
-2
lines changed
  • Item Creator/src/main/java/org/broken/arrow/library/itemcreator/meta/map

1 file changed

+4
-2
lines changed

Item Creator/src/main/java/org/broken/arrow/library/itemcreator/meta/map/BuildMapView.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,9 +284,11 @@ public void setLocked(final boolean locked) {
284284
}
285285

286286
/**
287-
* Build the {@link MapView} with your settings set.
287+
* Applies all configured settings and renderers to the wrapped MapView.
288+
* Should be called once all properties are set.
288289
*
289-
* @return a new MapView instance with your settings.
290+
* @return the wrapped MapView instance, ready for use
291+
* @throws IllegalStateException if the world is not set
290292
*/
291293
public MapView finalizeMapView() {
292294
if (world == null)

0 commit comments

Comments
 (0)