mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-01 00:10:40 +01:00
Clarify that parameter is non-null
This commit is contained in:
parent
a68436fde1
commit
0e253f3ba5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user