diff --git a/src/main/java/emu/grasscutter/game/ability/Ability.java b/src/main/java/emu/grasscutter/game/ability/Ability.java index 0c7f5337e..a903e5563 100644 --- a/src/main/java/emu/grasscutter/game/ability/Ability.java +++ b/src/main/java/emu/grasscutter/game/ability/Ability.java @@ -65,8 +65,7 @@ public class Ability { data.modifiers.values().stream() .map( m -> - (List) - (m.onAdded == null ? Collections.emptyList() : Arrays.asList(m.onAdded))) + m.onAdded == null ? Collections.emptyList() : Arrays.asList(m.onAdded)) .flatMap(List::stream) .filter(action -> action.type == AbilityModifierAction.Type.AvatarSkillStart) .map(action -> action.skillID)