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));