mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Fix commands.py to always include the two side classes so the fml jars are valid.
This commit is contained in:
1 parent
e6d6932e21
commit
2d7eb5cb7f
1 file changed
+11
-1
+11
-1
@@ -152,7 +152,17 @@
|
||||
dirs = ' '.join(pkglist)
|
||||
forkcmd = self.cmdastyle.format(classes=dirs, conffile=self.astyleconf)
|
||||
self.runcmd(forkcmd)
|
||||
@@ -1592,6 +1622,9 @@
|
||||
@@ -1526,6 +1556,9 @@
|
||||
trgclasses.append(key)
|
||||
self.logger.info('> Unchanged class found: %s', key)
|
||||
classes = {}
|
||||
+ for key in [ 'cpw/mods/fml/common/asm/SideOnly.class', 'cpw/mods/fml/common/Side.class' ]:
|
||||
+ self.logger.info('> Forcing FML class: %s', key)
|
||||
+ trgclasses.append(key)
|
||||
srg_data = parse_srg(srglk[side])
|
||||
for row in srg_data['CL']:
|
||||
classes[row['deobf_name']] = row['obf_name']
|
||||
@@ -1592,6 +1625,9 @@
|
||||
sys.exit(1)
|
||||
|
||||
for entry in newfiles:
|
||||
|
||||
Reference in new issue
Block a user