# SMWYG Fix
A lightweight, client-side drop-in fix for the [Show Me What You Got (SMWYG)](https://www.curseforge.com/minecraft/mc-mods/show-me-what-you-got) mod.
## The Problem
The original SMWYG mod can occasionally cause client crashes or server kicks under specific conditions:
- Illegal Characters Kick: When sharing items with certain formatting codes inherited from server-side plugins or other mods, the game may kick you for "Illegal characters in chat".
## Features
This mod applies surgical fixes via Mixins to solve these issues without altering original functionality:
- Automatic Sanitization: Strips illegal section signs (§) from item display names before they are sent to the chat field, preventing kicks.
- Bounds Memory: Implements index-aware sanitization to ensure SMWYG's internal character tracking remains accurate.
## Installation
1. Ensure you have the Fabric Loader installed for 1.20.1.
2. Download the smwyg-fix JAR.
3. Place it in your .minecraft/mods folder along with the original [Show Me What You Got](https://www.curseforge.com/minecraft/mc-mods/show-me-what-you-got) mod.
4. Launch the game. No configuration is required.
## Compatibility
- Minecraft: 1.20.1
- Fabric Loader: >=0.14.22
- Environment: Client-side only. This mod does not need to be (but can be) installed on a server.
## Credits
- This mod is a patch for Show Me What You Got, originally created by [Apace](https://github.com/Apace100).
---
*Note: This is an unofficial fix and is not affiliated with the original mod author.*