Stop Forge from allowing the mod to load on other MC versions (fixes #82)

This commit is contained in:
Jonas Herzig
2017-08-11 14:54:10 +02:00
parent 1a1e96c375
commit fe1d9b828d

View File

@@ -38,7 +38,9 @@ minecraft {
runDir = "eclipse"
mappings = "snapshot_nodoc_20141130"
replace '@MOD_VERSION@', project.version
replace '@MC_VERSION@', project.minecraft.version
// Includes intentional whitespace to stop Forge from declaring the mod to be compatible with
// a newer srg-compatible MC version (that may be using a different protocol version)
replace '@MC_VERSION@', "[ ${project.minecraft.version} ]"
}
repositories {