diff --git a/src/Battling/Pokemon/LearnedMove.hpp b/src/Battling/Pokemon/LearnedMove.hpp index 91ccf89..dca7dd9 100644 --- a/src/Battling/Pokemon/LearnedMove.hpp +++ b/src/Battling/Pokemon/LearnedMove.hpp @@ -11,7 +11,7 @@ namespace PkmnLib::Battling { : CreatureLib::Battling::LearnedAttack(move.As(), learnMethod) {} const ArbUt::BorrowedPtr GetMoveData() const { - return GetAttack().As(); + return GetAttack().ForceAs(); } }; }