mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2026-01-06 15:51:50 +00:00
Worldguard support
This commit is contained in:
@@ -32,4 +32,8 @@ public interface Action<T> {
|
||||
* @param context the context
|
||||
*/
|
||||
void trigger(Context<T> context);
|
||||
|
||||
static Action<?> empty() {
|
||||
return EmptyAction.INSTANCE;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,4 +34,8 @@ public interface Requirement<T> {
|
||||
* @return true if the requirement is met, false otherwise
|
||||
*/
|
||||
boolean isSatisfied(Context<T> context);
|
||||
|
||||
static Requirement<?> empty() {
|
||||
return EmptyRequirement.INSTANCE;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user