9
0
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:
XiaoMoMi
2024-03-14 21:26:36 +08:00
parent 8f418965f2
commit f0f69adc2f

View File

@@ -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();