fix model commands, fix stats command description, remove lore from tokens button

This commit is contained in:
BuildTools 2017-05-30 18:11:35 -07:00
parent d6f2b5afa6
commit d9cc1705fd
3 changed files with 4 additions and 6 deletions

View File

@ -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(

View File

@ -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
)

View File

@ -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