This commit is contained in:
Lemon 2018-06-03 02:15:18 +05:00 committed by GitHub
parent 6c5ae5d7d7
commit 57e7fe13cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,8 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
@CommandPermissions(level = Rank.OP, source = SourceType.BOTH)
@CommandParameters(description = "Get social media links.", usage = "/<command>>", aliases = "link")
public class Command_links extends FreedomCommand public class Command_links extends FreedomCommand
{ {
@Override @Override
@ -33,7 +35,7 @@ public class Command_links extends FreedomCommand
} }
if (lines.size() == 0) if (lines.size() == 0)
{ {
lines.add(ChatColor.GOLD + "- There are no links currently added in the config"); lines.add(ChatColor.GOLD + "- There are no links currently added in the config.");
} }
lines.add(ChatColor.AQUA + "TotalFreedom Social Media Links:"); lines.add(ChatColor.AQUA + "TotalFreedom Social Media Links:");