Add Override annotations where appropriate

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2019-04-28 11:37:52 +10:00
parent d66310a2f1
commit 82854b7bd7
176 changed files with 503 additions and 0 deletions

View File

@@ -26,10 +26,12 @@ public class LightningStrikeEvent extends WeatherEvent implements Cancellable {
this.cause = cause;
}
@Override
public boolean isCancelled() {
return canceled;
}
@Override
public void setCancelled(boolean cancel) {
canceled = cancel;
}

View File

@@ -18,10 +18,12 @@ public class ThunderChangeEvent extends WeatherEvent implements Cancellable {
this.to = to;
}
@Override
public boolean isCancelled() {
return canceled;
}
@Override
public void setCancelled(boolean cancel) {
canceled = cancel;
}

View File

@@ -18,10 +18,12 @@ public class WeatherChangeEvent extends WeatherEvent implements Cancellable {
this.to = to;
}
@Override
public boolean isCancelled() {
return canceled;
}
@Override
public void setCancelled(boolean cancel) {
canceled = cancel;
}