StrangeLoopGames / EcoIssues

131 stars 21 forks source link

Joshua Tree throwing false on !this.CanHarvest #23457

Open LocoTheDM opened 2 years ago

LocoTheDM commented 2 years ago

Version: 9.6.2 Priority: Low? Steps: 1) Chop down Joshua tree 2) Interact with the tree (E key) without slicing it, even after it falls down. 3) Receive two errors: a) "Log is too large to pick up, slice into smaller pieces first." (source: _core/Objects/TreeObject.cs : line 266) - this error is expected. b) "Log is not ready for harvest. Remove all branches first." (source: _core/Objects/TreeObject.cs : line 257) - this is the unexpected error.

CanHarvest checks for if the branches are all removed from the tree. Given that other trees don't have this issue after they hit the ground and their branches are destroyed, something in the joshua tree specifically is causing the error. Chopping off the branch from a joshua tree before cutting it down does not seem to affect this result. Trimming all the branches from other trees (tested: birch) before cutting them down doesn't throw line 257 even if the tree is still in motion.

Reported by: slg215773

TwixterZ commented 2 years ago

@LocoTheDM Thank you for providing such detail report. I have forward this to our developer for possible fix,

Issue reference : ECO-24421