Skip to content

Commit

Permalink
Fix mods.toml now requiring type="required" instead of mandatory=true
Browse files Browse the repository at this point in the history
  • Loading branch information
KiriCattus authored Dec 28, 2023
1 parent 2afca88 commit 84014b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ description='''${mod_description}'''
# the modid of the dependency
modId="neoforge" #mandatory
# Does this dependency have to exist - if not, ordering below must be specified
mandatory=true #mandatory
type="required" #mandatory
# The version range of the dependency
versionRange="${neo_version_range}" #mandatory
# An ordering relationship for the dependency - BEFORE or AFTER required if the dependency is not mandatory
Expand All @@ -57,9 +57,9 @@ description='''${mod_description}'''
# Here's another dependency
[[dependencies.${mod_id}]]
modId="minecraft"
mandatory=true
type="required"
# This version range declares a minimum of the current minecraft version up to but not including the next major version
versionRange="[1.20.2,1.21)"
versionRange="[1.20.4,1.21)"
ordering="NONE"
side="BOTH"

Expand Down

0 comments on commit 84014b1

Please sign in to comment.