fix model commands, fix stats command description, remove lore from tokens button
This commit is contained in:
parent
d6f2b5afa6
commit
d9cc1705fd
|
@ -23,7 +23,7 @@ import tc.oc.commons.core.commands.NestedCommands;
|
|||
import tc.oc.commons.core.formatting.StringUtils;
|
||||
import tc.oc.minecraft.api.command.CommandSender;
|
||||
|
||||
class ModelCommands implements NestedCommands {
|
||||
public class ModelCommands implements NestedCommands {
|
||||
|
||||
public static class Parent implements Commands {
|
||||
@Command(
|
||||
|
|
|
@ -37,8 +37,8 @@ public class StatsCommands implements Commands {
|
|||
|
||||
@Command(
|
||||
aliases = { "stats"},
|
||||
usage = "<player>",
|
||||
desc = "Shows when a player was last seen",
|
||||
usage = "[player]",
|
||||
desc = "Shows a player's stats",
|
||||
min = 0,
|
||||
max = 1
|
||||
)
|
||||
|
|
|
@ -21,9 +21,7 @@ public class MainTokenButton extends Button {
|
|||
@Override
|
||||
public ItemCreator getIcon() {
|
||||
return new ItemCreator(Material.DOUBLE_PLANT)
|
||||
.setName(Constants.PREFIX + "Tokens")
|
||||
.addLore(Constants.SUBTEXT + "Open the Token Menu",
|
||||
Constants.CLICK + "Right Click");
|
||||
.setName(Constants.PREFIX + "Tokens");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue