I see you've also posted this to Github, will reply there as well. As I mention in my other comment here, I don't accept code contributions/suggestions, but highlighting the bug is of course helpful.
Pixel Dungeon
This community is a place to talk strategies, tell stories, or discuss anything related to Pixel Dungeon or its many versions.

Rules:
-
1. No hate or adult themes of any kind: NSFW or illegal material, hate speech, personal attacks, harassment, doxxing, bullying, etc. are all strictly forbidden. Crude or offensive language should be kept to a minimum or avoided entirely.
-
2. Posts must directly relate to Pixel Dungeon: All content posted must directly reference Pixel Dungeon or one of its variants in some form. Loose connections or similar nomenclature from irrelevant works do not count.
-
3. Do not use other's work without giving credit: You may post things that were created by other people, but you must link to the original and credit the author. AI generated content is prohibited, as crediting the original authors is impossible.
-
4. Follow site-wide rules: https://legal.lemmy.world/tos/
We have a few title tags for standout posts:
- [MOD] - Posts by moderators about the community
- [DEV] - Announcements from a developer of a PD version
- [OC] - Self-made original content
Sister Communities:
I could have perhaps made a fix and do a PR on Github...
Ok, so you know how Github works. So why didn't you post this as an issue on Github?
This man HATES community contributions.
That's a pretty big mischaracterization. I don't accept code contributions both because I prefer to keep Shattered solo, and due to copyright implications. Community contributions in other forms, such as bug reports, are of course welcome.