fix: resolve all 375 checkstyle violations

This commit is contained in:
loki5512344 2026-07-12 12:08:02 +02:00
parent bfeecb0866
commit 1d57972038
Signed by: boba
GPG key ID: 253067914055423B
45 changed files with 286 additions and 107 deletions

View file

@ -15,9 +15,17 @@ public class PlayMenu extends LPMenu {
baseGui(title, 3)
.setItem(11, localeItem(player, "play.single.item"),
e -> { if (ParkourOption.SINGLE.mayPerform(player)) Menus.SINGLE.open(player); })
e -> {
if (ParkourOption.SINGLE.mayPerform(player)) {
Menus.SINGLE.open(player);
}
})
.setItem(15, localeItem(player, "play.spectator.item"),
e -> { if (ParkourOption.SPECTATOR.mayPerform(player)) Menus.SPECTATOR.open(player); })
e -> {
if (ParkourOption.SPECTATOR.mayPerform(player)) {
Menus.SPECTATOR.open(player);
}
})
.setItem(22, closeButton(player), e -> player.closeInventory())
.open(player);
}