mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2024-09-30 15:37:40 +02:00
Update ListOtherCommand.java
This commit is contained in:
parent
7b3814cd7f
commit
16248a9e3b
@ -107,13 +107,11 @@ public class ListOtherCommand extends IoMCommand
|
|||||||
.then(map.getId())
|
.then(map.getId())
|
||||||
.color(ChatColor.WHITE)
|
.color(ChatColor.WHITE)
|
||||||
.command(GetCommand.class, map.getId())
|
.command(GetCommand.class, map.getId())
|
||||||
.hover(new ItemStackBuilder(Material.MAP)
|
.hover(new RawText()
|
||||||
.title(ChatColor.GREEN + "" + ChatColor.BOLD + map.getName())
|
.then(map.getName()).style(ChatColor.BOLD, ChatColor.GREEN).then("\n")
|
||||||
.lore(ChatColor.GRAY + map.getId() + ", " + size)
|
.then(map.getId() + ", " + size).color(ChatColor.GRAY).then("\n\n")
|
||||||
.lore("")
|
.then(I.t("{white}Click{gray} to get this map"))
|
||||||
.lore(I.t("{white}Click{gray} to get this map"))
|
|
||||||
.hideAttributes()
|
|
||||||
.item()
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user