Open ninjaguardian opened 1 month ago
When showIdleStatesInPlayerList is false, renderPingIconHook returns false. When renderPingIconHook is false, renderPingIcon renders the icon. So it is wrong.
src/main/java/com/corosus/watut/mixin/client/RenderPingIconInject.java line 23 does
if (!WatutMod.getPlayerStatusManagerClient().renderPingIconHook((PlayerTabOverlay)(Object)this, pGuiGraphics, p_281809_, p_282801_, pY, pPlayerInfo)) {…}
but it should do
if (WatutMod.getPlayerStatusManagerClient().renderPingIconHook((PlayerTabOverlay)(Object)this, pGuiGraphics, p_281809_, p_282801_, pY, pPlayerInfo)) {…}
But, of course, I could be wrong.
Describe the bug I was looking at https://github.com/Corosauce/WATUT/issues/8 and I followed the instructions but it did not work.
(also by the way there is a typo in this template arent is spelled aren't)
To Reproduce
latest.log, debug.log or crash report if the other 2 arent possible https://mclo.gs/4yihQ7C
Expected behavior It should disable the feature and not crash
Mod and Minecraft version: