You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/de/bluecolored/bluemap/api/BlueMapAPIListener.java
+2
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,8 @@
24
24
*/
25
25
packagede.bluecolored.bluemap.api;
26
26
27
+
importjava.util.function.Consumer;
28
+
27
29
/**
28
30
* @deprecated Implementing {@link BlueMapAPIListener} can cause a ClassNotFoundException when you soft-depend on BlueMap and your plugin/mod gets used without BlueMap.
29
31
* Use {@link BlueMapAPI#onEnable(Consumer)} and {@link BlueMapAPI#onDisable(Consumer)} instead.
Copy file name to clipboardExpand all lines: src/main/java/de/bluecolored/bluemap/api/marker/MarkerSet.java
+9-2
Original file line number
Diff line number
Diff line change
@@ -72,15 +72,22 @@ public interface MarkerSet {
72
72
* @param toggleable whether this {@link MarkerSet} should be toggleable
73
73
*/
74
74
voidsetToggleable(booleantoggleable);
75
-
75
+
76
+
/**
77
+
* @deprecated method name has a typo, use {@link #isDefaultHidden()} instead.
78
+
*/
79
+
defaultbooleanisDefautHidden() {
80
+
returnisDefaultHidden();
81
+
}
82
+
76
83
/**
77
84
* Checks if this {@link MarkerSet} is hidden by default.
78
85
* <p>This is basically the default-state of the toggle-button from {@link #isToggleable()}. If this is <code>true</code> the markers of this marker set will initially be hidden and can be displayed using the toggle-button.</p>
79
86
*
80
87
* @return whether this {@link MarkerSet} is hidden by default
81
88
* @see #isToggleable()
82
89
*/
83
-
booleanisDefautHidden();
90
+
booleanisDefaultHidden();
84
91
85
92
/**
86
93
* Sets if this {@link MarkerSet} is hidden by default.
0 commit comments