mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-14 01:14:01 +00:00
Only add FMLCorePluginContainsFMLMod to MANIFEST if core mod is actually used
This commit is contained in:
1 parent
0b72372ee3
commit
e161fa1099
1 file changed
+1
-1
+1
-1
@@ -359,7 +359,7 @@ processResources
|
||||
|
||||
def getManifestAttributes() {
|
||||
def manifestAttributes = [:]
|
||||
if(containsMixinsAndOrCoreModOnly.toBoolean() == false) {
|
||||
if(containsMixinsAndOrCoreModOnly.toBoolean() == false && (usesMixins.toBoolean() || coreModClass) {
|
||||
manifestAttributes += ["FMLCorePluginContainsFMLMod": true]
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user