Add Override annotations where appropriate

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2019-04-28 11:37:52 +10:00
parent d66310a2f1
commit 82854b7bd7
176 changed files with 503 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ public class IndexHelpTopic extends HelpTopic {
this.allTopics = topics;
}
@Override
public boolean canSee(@NotNull CommandSender sender) {
if (sender instanceof ConsoleCommandSender) {
return true;
@@ -59,6 +60,7 @@ public class IndexHelpTopic extends HelpTopic {
permission = amendedPermission;
}
@Override
@NotNull
public String getFullText(@NotNull CommandSender sender) {
StringBuilder sb = new StringBuilder();