Skip to content

Players Don't Drop Coins When Smashed By Maelstrom #195

Closed
@TheNexusAvenger

Description

@TheNexusAvenger

When you smash yourself, such as by using the smash command, you drop coins that you can try to re-collect. This behavior should exist for players being killed by Maelstrom, and does exist in the code, but doesn't function as intended. The causes appears to be GeneratePlayerYieldsAsync being passed null for the player, which is from SmashAsync checking if the smashed object is a Player, and then passing owner, which can be undefined, instead of (Player) GameObject.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions