Fix Spigot annotation mistakes
while some of these may of been true, they are extreme cases and cause a ton of noise to plugin developers. Use ApiStatus.Internal instead of Deprecated for actual internal API that continues to have use (internally). These do not help plugin developers if they bring moise noise than value.
This commit is contained in:
@@ -32,9 +32,9 @@ public interface MapView {
|
||||
*
|
||||
* @param value The raw scale
|
||||
* @return The enum scale, or null for an invalid input
|
||||
* @deprecated Magic value
|
||||
* @apiNote Internal Use Only
|
||||
*/
|
||||
@Deprecated(since = "1.6.2")
|
||||
@org.jetbrains.annotations.ApiStatus.Internal // Paper
|
||||
@Nullable
|
||||
public static Scale valueOf(byte value) {
|
||||
switch (value) {
|
||||
@@ -51,9 +51,9 @@ public interface MapView {
|
||||
* Get the raw value of this scale level.
|
||||
*
|
||||
* @return The scale value
|
||||
* @deprecated Magic value
|
||||
* @apiNote Internal Use Only
|
||||
*/
|
||||
@Deprecated(since = "1.6.2")
|
||||
@org.jetbrains.annotations.ApiStatus.Internal // Paper
|
||||
public byte getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user