mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 21:38:00 +01:00
Fixed hud page numbers starting at 0 rather than 1
This commit is contained in:
parent
830275c6ad
commit
1feb8c84d2
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ public class KeyBindingsHandler {
|
|||
private void changePage(MinecraftClient client, long max, int sigma) {
|
||||
page += sigma;
|
||||
client.getSoundManager().play(PositionedSoundInstance.master(SoundEvents.UI_BUTTON_CLICK, 1.75F + (0.25F * sigma)));
|
||||
UHud.INSTANCE.setMessage(new TranslatableText("gui.unicopia.page_num", page, max));
|
||||
UHud.INSTANCE.setMessage(new TranslatableText("gui.unicopia.page_num", page + 1, max + 1));
|
||||
}
|
||||
|
||||
private PressedState checkPressed(KeyBinding binding) {
|
||||
|
|
Loading…
Reference in a new issue