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:
@ -84,6 +84,10 @@ public interface LightningStrike extends Entity {
|
||||
public void setCausingPlayer(@Nullable Player player);
|
||||
|
||||
// Spigot start
|
||||
/**
|
||||
* @deprecated Unsupported api
|
||||
*/
|
||||
@Deprecated // Paper
|
||||
public class Spigot extends Entity.Spigot {
|
||||
|
||||
/**
|
||||
@ -98,8 +102,12 @@ public interface LightningStrike extends Entity {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Unsupported api
|
||||
*/
|
||||
@NotNull
|
||||
@Override
|
||||
@Deprecated // Paper
|
||||
Spigot spigot();
|
||||
// Spigot end
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user