Clarify that parameter is non-null

This commit is contained in:
tastybento 2023-02-05 10:10:25 -08:00
parent a68436fde1
commit 0e253f3ba5

View File

@ -183,7 +183,7 @@ public abstract class FlagListener implements Listener {
}
}
private boolean processBypass(@NonNull Flag flag, Island island, @NonNull Event e, @Nullable Location loc, boolean silent) {
private boolean processBypass(@NonNull Flag flag, Island island, @NonNull Event e, @NonNull Location loc, boolean silent) {
// If it is not allowed on the island, "bypass island" moderators can do anything
if (island.isAllowed(user, flag)) {
report(user, e, loc, flag, Why.RANK_ALLOWED);