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:
@@ -19,7 +19,7 @@ public class RaidSpawnWaveEvent extends RaidEvent {
|
||||
private final List<Raider> raiders;
|
||||
private final Raider leader;
|
||||
|
||||
public RaidSpawnWaveEvent(@NotNull Raid raid, @NotNull World world, @Nullable Raider leader, @NotNull List<Raider> raiders) {
|
||||
public RaidSpawnWaveEvent(@NotNull Raid raid, @NotNull World world, @NotNull Raider leader, @NotNull List<Raider> raiders) { // Paper
|
||||
super(raid, world);
|
||||
this.raiders = raiders;
|
||||
this.leader = leader;
|
||||
@@ -30,7 +30,7 @@ public class RaidSpawnWaveEvent extends RaidEvent {
|
||||
*
|
||||
* @return {@link Raider}
|
||||
*/
|
||||
@Nullable
|
||||
@NotNull // Paper
|
||||
public Raider getPatrolLeader() {
|
||||
return leader;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user