mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-27 19:09:09 +00:00
added alias
This commit is contained in:
@@ -542,7 +542,7 @@ public abstract class AbstractRequirementManager<T> implements RequirementManage
|
||||
plugin.getPluginLogger().warn("Invalid value type: " + args.getClass().getSimpleName() + " found at == requirement which is expected be `Section`");
|
||||
return Requirement.empty();
|
||||
}
|
||||
}, "==");
|
||||
}, "==", "=");
|
||||
registerRequirement((args, actions, runActions) -> {
|
||||
if (args instanceof Section section) {
|
||||
MathValue<T> v1 = MathValue.auto(section.get("value1"));
|
||||
|
||||
Reference in New Issue
Block a user