allow other plugins to register requirements and operaitons
This commit is contained in:
@@ -2,6 +2,6 @@ package sh.okx.rankup.requirements;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public abstract class Operation {
|
||||
public abstract boolean check(List<Boolean> booleans);
|
||||
public interface Operation {
|
||||
boolean check(List<Boolean> booleans);
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ package sh.okx.rankup.requirements;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public abstract class ReducerOperation extends Operation {
|
||||
public abstract class ReducerOperation implements Operation {
|
||||
public abstract boolean check(boolean a, boolean b);
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user