Skip to content

Commit

Permalink
Update to 1.20.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mschae23 committed Dec 10, 2023
1 parent 51a6cc2 commit 37fa98c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ org.gradle.jvmargs=-Xmx1G

# Fabric Properties
# check these on https://fabricmc.net/versions.html
minecraft_version=1.20.2
yarn_mappings=1.20.2+build.4
loader_version=0.14.22
minecraft_version=1.20.4
yarn_mappings=1.20.4+build.1
loader_version=0.15.1

# Mod Properties
mod_version = 3.1.2
maven_group = de.martenschaefer.grind-enchantments
archives_base_name = grind-enchantments

# Dependencies
fabric_api_version=0.90.0+1.20.2
fabric_api_version=0.91.2+1.20.4
codec_config_api_version=1.0.2+1.19.3
tax_free_levels_version=loom-SNAPSHOT

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static ItemStack addLevelCostLore(ItemStack stack, IntSupplier cost, bool
MutableText text = Text.literal("Enchantment cost: " + cost.getAsInt())
.formatted(canTakeItem ? Formatting.GREEN : Formatting.RED);

lore.add(NbtString.of(Text.Serializer.toJson(text)));
lore.add(NbtString.of(Text.Serialization.toJsonString(text)));
return changed;
}

Expand Down

0 comments on commit 37fa98c

Please sign in to comment.