Enhance ability selection and display: add toggleable ability handling, improve ability name color coding, and update ability selection messaging

This commit is contained in:
Kam committed 2026-02-15 19:21:30 -05:00
1 parent 45d05b9157
commit ce24c0a4ff
7 files changed
+86 -16

No files matched your search

@@ -63,7 +63,9 @@ public class ClientTickHandler {
if (event.phase == Phase.START) {
EntityPlayer player = mc.thePlayer;
if (player != null) {
boolean specialKeyDown = ClientProxy.SpecialKey != null && Keyboard.isKeyDown(ClientProxy.SpecialKey.getKeyCode());
// Only process special key when no GUI screen is open
boolean specialKeyDown = mc.currentScreen == null
&& ClientProxy.SpecialKey != null && Keyboard.isKeyDown(ClientProxy.SpecialKey.getKeyCode());
if (specialKeyDown != lastSpecialKeyDown) {
PlayerData data = CustomNpcs.proxy.getPlayerData(player);
if (data != null) {