Skip to content

Commit

Permalink
Fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
Patbox committed Apr 26, 2024
1 parent c81a16b commit 0584238
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fabric_version=0.95.6+1.20.5


# Mod Properties
mod_version = 3.3.1+1.20.5
mod_version = 3.3.2+1.20.5
maven_group = eu.pb4
archives_base_name = graves

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/eu/pb4/graves/config/BaseGson.java
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public ItemStack deserialize(JsonElement jsonElement, Type type, JsonDeserializa

@Override
public JsonElement serialize(ItemStack stack, Type type, JsonSerializationContext jsonSerializationContext) {
if (stack.getCount() == 1 && !stack.getComponentChanges().isEmpty()) {
if (stack.getCount() == 1 && stack.getComponentChanges().isEmpty()) {
return new JsonPrimitive(Registries.ITEM.getId(stack.getItem()).toString());
}

Expand Down

0 comments on commit 0584238

Please sign in to comment.