Skip to content

Commit

Permalink
Fix KubeJS deserialization for conditions (#2022)
Browse files Browse the repository at this point in the history
  • Loading branch information
krossgg authored Sep 24, 2024
1 parent 54bc848 commit ad1113c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public RecipeCondition read(RecipeJS recipe, Object from) {
if (type != null) {
RecipeCondition condition = type.factory.createDefault();
if (condition != null) {
return condition.deserialize(GsonHelper.getAsJsonObject(jsonObject, "data", new JsonObject()));
return condition.deserialize(jsonObject);
}
}
} else if (from instanceof Tag tag) {
Expand Down

0 comments on commit ad1113c

Please sign in to comment.