Improve annotation test on parameters

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2022-09-24 09:31:44 +10:00
parent 869f647744
commit 3455cde270
3 changed files with 3 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ public class VillagerCareerChangeEvent extends EntityEvent implements Cancellabl
}
@Override
public void setCancelled(@NotNull boolean cancel) {
public void setCancelled(boolean cancel) {
cancelled = cancel;
}

View File

@@ -18,7 +18,7 @@ public class TimeSkipEvent extends WorldEvent implements Cancellable {
private final SkipReason skipReason;
private long skipAmount;
public TimeSkipEvent(@NotNull World world, @NotNull SkipReason skipReason, @NotNull long skipAmount) {
public TimeSkipEvent(@NotNull World world, @NotNull SkipReason skipReason, long skipAmount) {
super(world);
this.skipReason = skipReason;
this.skipAmount = skipAmount;