mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-16 18:44:44 +00:00
Lexicon hud shows actual keybinding instead of shift, closes #2216
This commit is contained in:
1 file changed
+1
-1
@@ -427,7 +427,7 @@ public final class HUDHandler {
|
||||
|
||||
if(!mc.player.isSneaking()) {
|
||||
GlStateManager.scale(0.5F, 0.5F, 1F);
|
||||
mc.fontRendererObj.drawStringWithShadow(TextFormatting.BOLD + "Shift", (sx + 10) * 2 - 16, (sy + 8) * 2 + 20, 0xFFFFFFFF);
|
||||
mc.fontRendererObj.drawStringWithShadow(TextFormatting.BOLD + mc.gameSettings.keyBindSneak.getDisplayName(), (sx + 10) * 2 - 16, (sy + 8) * 2 + 20, 0xFFFFFFFF);
|
||||
GlStateManager.scale(2F, 2F, 1F);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user