AutoText long Display Names causes lag
Opis
Description:
When creating a AutoText, you can also create a Display Name for it. The issue here is, that the Display Name has a too high character limit, which means when you put it into the Interaction Menu multiple times with the same long Display Name, then the game will most likely have a major FPS drop, nearly causing it to crash.
Reproduction steps:
- Start LabyMod
- Join any Server
- Open the chat
- Create multiple AutoText entries with a very long name and make sure Display in Interaction Menu is checked
- Go to any player and press the Interaction Menu Key
- Notice the major FPS drop.
Observed result:
AutoText Display Names have a too high character limit creating major FPS drops.
Expected result:
AutoText Display Names should have a character limit of 32 as an example.
Operating System: Windows 10
LabyMod Version: 4.0.9+888 snapshot/1091ab
Minecraft Version: 1.20.1
Installed Addons: Flux