From 65183d6eb9447282686a448c559d617982564a5f Mon Sep 17 00:00:00 2001 From: Luc Date: Fri, 26 Apr 2024 15:22:31 -0400 Subject: [PATCH] simplified test condition further --- src/data/move.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/move.ts b/src/data/move.ts index 5cef8519916..18b064aa954 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -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;