Custom Map

This commit is contained in:
xfl03 committed 2016-09-10 21:08:07 +08:00
1 parent 25c864b11b
commit e719e9cd4e
1 file changed
+1 -1
+1 -1
View File
@@ -101,7 +101,7 @@ build.finalizedBy afterBuild
void reobfSrgToNotch(){
def srgName = "${archivesBaseName}-${version}-srg.jar"
def notchName = srgName.replace('-srg', '')
if(config.srg_notch_map==null||config.srg_notch_map==""){
if(config.srg_notch_map==null||config.srg_notch_map.length()<=3){
//Default Map
def mcpName = srgName.replace('-srg', '-dev')
applySpecialSource(srgName,mcpName,getDefaultMap("srg-mcp"))