mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-26 10:29:10 +00:00
Update RequirementManagerImpl.java
This commit is contained in:
@@ -256,7 +256,7 @@ public class RequirementManagerImpl implements RequirementManager {
|
||||
return false;
|
||||
};
|
||||
});
|
||||
registerRequirement("natural_light", (args, actions, advanced) -> {
|
||||
registerRequirement("natural-light", (args, actions, advanced) -> {
|
||||
List<Pair<Integer, Integer>> tempPairs = ConfigUtils.stringListArgs(args).stream().map(it -> ConfigUtils.splitStringIntegerArgs(it, "~")).toList();
|
||||
return state -> {
|
||||
Location location = state.getLocation();
|
||||
|
||||
Reference in New Issue
Block a user