Map Crash Fixer

Map Crash Fixer

Mod

A mod to fix a 1.17.1 bug with map crashes.

Client Utility

165 downloads
2 followers
Created3 years ago
Updated3 years ago

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.
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

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!

External resources



Project members

TechStreet

Owner


Technical information

License
MIT
Client side
required
Server side
unsupported
Project ID