simplified test condition further

This commit is contained in:
Luc 2024-04-26 15:22:31 -04:00
parent e68044436f
commit 65183d6eb9

View File

@ -2274,7 +2274,7 @@ export class MatchUserTypeAttr extends VariableMoveTypeAttr {
const userTypes = user.getTypes(true);
if(userTypes.length > 0 && userTypes.includes(Type.STELLAR)) { // will not change to stellar type
if(userTypes.includes(Type.STELLAR)) { // will not change to stellar type
const nonTeraTypes = user.getTypes();
type.value = nonTeraTypes[0];
return true;