fix: resolve 266/375 checkstyle violations, add lolib jar

This commit is contained in:
loki5512344 2026-07-12 11:52:54 +02:00
parent 7df0c13ac4
commit bfeecb0866
Signed by: boba
GPG key ID: 253067914055423B
79 changed files with 773 additions and 292 deletions

View file

@ -51,7 +51,10 @@ public class SingleLeaderboardMenu extends LPMenu {
OfflinePlayer op = org.bukkit.Bukkit.getOfflinePlayer(entry.getKey());
if (op.getName() != null && !op.getName().startsWith(".")) {
SkullMeta meta = (SkullMeta) skull.getItemMeta();
if (meta != null) { meta.setOwningPlayer(op); skull.setItemMeta(meta); }
if (meta != null) {
meta.setOwningPlayer(op);
skull.setItemMeta(meta);
}
}
}