Skip to content

Commit

Permalink
fix: blockstate recipe values not properly deserializing
Browse files Browse the repository at this point in the history
  • Loading branch information
bconlon1 committed Apr 1, 2024
1 parent da24193 commit c2885ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public record BlockPropertyPair(Block block, Optional<Map<Property<?>, Comparabl
if (nameToPropertyMap.containsKey(rawPropertyName)) {
Property<?> property = nameToPropertyMap.get(rawPropertyName);
if (property != null) {
Optional<Comparable<?>> comparableOptional = (Optional<Comparable<?>>) property.getValue(rawPropertyName);
Optional<Comparable<?>> comparableOptional = (Optional<Comparable<?>>) property.getValue(rawPropertiesEntry.getValue());
comparableOptional.ifPresent(value ->properties.put(property, value));
}
}
Expand Down

0 comments on commit c2885ef

Please sign in to comment.