fix: resolve 266/375 checkstyle violations, add lolib jar
This commit is contained in:
parent
7df0c13ac4
commit
bfeecb0866
79 changed files with 773 additions and 292 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue