chore: accurate infested pet traits #1356

Merged
Sainan merged 1 commits from AMelonInsideLemon/SpaceNinjaServer:infested-colors into main 2025-03-28 06:49:30 -07:00
Contributor
No description provided.
AMelonInsideLemon added 1 commit 2025-03-28 05:35:35 -07:00
chore: accurate infested pet traits
All checks were successful
Build / build (18) (pull_request) Successful in 43s
Build / build (22) (pull_request) Successful in 1m16s
Build / build (20) (pull_request) Successful in 1m21s
b8eb1f715a
Sainan reviewed 2025-03-28 05:37:52 -07:00
@ -81,0 +111,4 @@
if (!traits) {
throw new Error(`unknown KubrowPets type: ${data.WeaponType}`);
}
Owner

This isn't needed because of modularWeaponTypes

This isn't needed because of modularWeaponTypes
Author
Contributor

then something like that will be okay?

DominantTraits: traits!,
RecessiveTraits: traits!
then something like that will be okay? ``` DominantTraits: traits!, RecessiveTraits: traits! ```
Owner

TypeScript assumes indexing will always succeed, you do not need !

TypeScript assumes indexing will always succeed, you do not need !
Author
Contributor

on my side it throws Type 'undefined' is not assignable to type 'ITraits' error

on my side it throws `Type 'undefined' is not assignable to type 'ITraits'` error
Owner

Hmm, then leave it as-is, I guess.

Hmm, then leave it as-is, I guess.
Sainan marked this conversation as resolved
Sainan approved these changes 2025-03-28 05:45:54 -07:00
Sainan merged commit 3a904753f2 into main 2025-03-28 06:49:30 -07:00
Sainan deleted branch infested-colors 2025-03-28 06:49:30 -07:00
Sign in to join this conversation.
No description provided.