Map Crash Fixer

Map Crash Fixer

Mod

A mod to fix a 1.17.1 bug with map crashes.

Client Utility

205 downloads
3 followers
Follow Save
Map Crash Fixer has been archived. Map Crash Fixer will not receive any further updates unless the author decides to unarchive the project.
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Map Crash Fixer Mod

Maps contain an array of bytes that each represent their own colors and hes the explaination.

Minecraft has a limited amount of colors, as a result they have the map color array sized to have the appropriate amount of colors. However, not every color is used yet. This means some objects stored in the array are NULL.

Because these colors do not exist you should never run into issues. However, the issue playing Minecraft right now which causes people to crash is due to these colors being sent to the client. Specifically, empty maps seem to all be -1... which when deserialized turns out to be ~63rd index in the MapColor array.

Simply this will replace these null colors with fake colors. This should prevent the crash.

Huge thanks to Owen1212055 for the original code, I just made it into a mod!


Project members

TechStreet

Owner

Details

Licensed MIT
Published 3 years ago
Updated 3 years ago