var fix
This commit is contained in:
parent
69f3beda4f
commit
cae5928023
|
|
@ -157,7 +157,7 @@ if(enabledMods.includes(variablesMod)) {
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
} else if(propType === "array") {
|
} else if(propType === "array") {
|
||||||
array = propType.split(",");
|
array = propValue.split(",");
|
||||||
for(i = 0; i < array.length; i++) {
|
for(i = 0; i < array.length; i++) {
|
||||||
if(array[i].startsWith("s")) { //String
|
if(array[i].startsWith("s")) { //String
|
||||||
array[i] = array[i].substring(1);
|
array[i] = array[i].substring(1);
|
||||||
|
|
@ -191,7 +191,7 @@ if(enabledMods.includes(variablesMod)) {
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
propType = array;
|
propValue = array;
|
||||||
} else if(propType !== "string") {
|
} else if(propType !== "string") {
|
||||||
alert("Unrecognized or unsupported type!");
|
alert("Unrecognized or unsupported type!");
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue