From 49d4fa79f45632e45ef608d479749aebace88261 Mon Sep 17 00:00:00 2001 From: Patbox <39821509+Patbox@users.noreply.github.com> Date: Mon, 11 Nov 2024 10:23:51 +0100 Subject: [PATCH] Fix compilation --- .../java/xyz/nucleoid/plasmid/impl/command/ui/GameJoinUi.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/xyz/nucleoid/plasmid/impl/command/ui/GameJoinUi.java b/src/main/java/xyz/nucleoid/plasmid/impl/command/ui/GameJoinUi.java index 62753f51..96e0cacc 100644 --- a/src/main/java/xyz/nucleoid/plasmid/impl/command/ui/GameJoinUi.java +++ b/src/main/java/xyz/nucleoid/plasmid/impl/command/ui/GameJoinUi.java @@ -76,7 +76,7 @@ private void updateUi() { this.page = MathHelper.clamp(this.page, 0, this.pageSize); - for (ManagedGameSpace gameSpace : games) { + for (var gameSpace : games) { if (gameI >= this.page * NAVBAR_POS) { if (i < limit) { this.setSlot(i++, this.createIconFor(gameSpace));