mirror of
https://github.com/BentoBoxWorld/Level.git
synced 2024-11-27 12:38:21 +01:00
Uses new panel API method names.
This commit is contained in:
parent
ab1385d13e
commit
481b9ea3e5
@ -46,7 +46,6 @@ import bskyblock.addon.level.event.TopTenClick;
|
||||
import us.tastybento.bskyblock.BSkyBlock;
|
||||
import us.tastybento.bskyblock.Constants;
|
||||
import us.tastybento.bskyblock.api.commands.User;
|
||||
import us.tastybento.bskyblock.api.panels.Panel;
|
||||
import us.tastybento.bskyblock.api.panels.PanelItem;
|
||||
import us.tastybento.bskyblock.api.panels.PanelItem.ClickHandler;
|
||||
import us.tastybento.bskyblock.api.panels.builders.PanelBuilder;
|
||||
@ -197,10 +196,10 @@ public class TopTen implements Listener {
|
||||
}
|
||||
}
|
||||
return new PanelItemBuilder()
|
||||
.setIcon(playerSkull)
|
||||
.setName(name)
|
||||
.setDescription(description)
|
||||
.setClickHandler(new ClickHandler() {
|
||||
.icon(playerSkull)
|
||||
.name(name)
|
||||
.description(description)
|
||||
.clickHandler(new ClickHandler() {
|
||||
|
||||
@Override
|
||||
public boolean onClick(User user, us.tastybento.bskyblock.api.panels.ClickType click) {
|
||||
|
Loading…
Reference in New Issue
Block a user