Try using CzechHek's InventoryManager instead of the built in Liquidbounce one because it has more customizability but I'm not sure if it will solve your problem or not.
"What you can do is generate a JWT for a premium account and use it to login instead. Then you can still use the chat when being logged into a cracked account"