mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-05-03 15:44:27 +02:00
fix ignore set value when both type and value equal
This commit is contained in:
parent
387e0b26b9
commit
9a3fbb2b84
@ -203,7 +203,7 @@ import java.util.Objects;
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
public void setValueAsString(String str){
|
public void setValueAsString(String str){
|
||||||
if(getValueType() != ValueType.STRING
|
if(getValueType() == ValueType.STRING
|
||||||
&& Objects.equals(str, getValueAsString())){
|
&& Objects.equals(str, getValueAsString())){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user