mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-05-01 14:44:27 +02:00
Suppress duplicate resource ids exception
This commit is contained in:
parent
ed57042066
commit
83359ff5d8
@ -483,7 +483,11 @@ public class ResourceIds {
|
|||||||
if(Objects.equals(exist.getName(), entry.getName())){
|
if(Objects.equals(exist.getName(), entry.getName())){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
throw new DuplicateException("Duplicate entry exist: "+exist+", entry: "+entry);
|
/* Developer may have a reason adding duplicate
|
||||||
|
resource ids , lets ignore rather than throw
|
||||||
|
*/
|
||||||
|
// throw new DuplicateException("Duplicate entry exist: "+exist+", entry: "+entry);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
if(getName() == null){
|
if(getName() == null){
|
||||||
this.name = entry.getTypeName();
|
this.name = entry.getTypeName();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user