diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index fae0804..17655d0 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/src/main/java/com/aetherteam/nitrogen/recipe/BlockPropertyPair.java b/src/main/java/com/aetherteam/nitrogen/recipe/BlockPropertyPair.java index 07a4490..90ca566 100644 --- a/src/main/java/com/aetherteam/nitrogen/recipe/BlockPropertyPair.java +++ b/src/main/java/com/aetherteam/nitrogen/recipe/BlockPropertyPair.java @@ -32,7 +32,7 @@ public record BlockPropertyPair(Block block, Optional, Comparabl if (nameToPropertyMap.containsKey(rawPropertyName)) { Property property = nameToPropertyMap.get(rawPropertyName); if (property != null) { - Optional> comparableOptional = (Optional>) property.getValue(rawPropertyName); + Optional> comparableOptional = (Optional>) property.getValue(rawPropertiesEntry.getValue()); comparableOptional.ifPresent(value ->properties.put(property, value)); } }