Fix "Please wait" when jumping not being centered (fixes #646)

This commit is contained in:
Jonas Herzig
2022-03-02 16:48:36 +01:00
parent a8d05a2bca
commit e26480f041

View File

@@ -603,6 +603,7 @@ public class ReplayHandler {
// Render our please-wait-screen
GuiScreen guiScreen = new GuiScreen();
guiScreen.setBackground(AbstractGuiScreen.Background.DIRT);
guiScreen.setLayout(new HorizontalLayout(HorizontalLayout.Alignment.CENTER));
guiScreen.addElements(new HorizontalLayout.Data(0.5),
new GuiLabel().setI18nText("replaymod.gui.pleasewait"));