mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 18:09:41 -05:00
[Bleeding] Added support for amending help topic visibility permissions in help.yml. Addresses BUKKIT-1113
By: rmichela <deltahat@gmail.com>
This commit is contained in:
1 parent
430de62323
commit
b891ec330b
3 files changed
+23
-2
No files matched your search
@@ -41,6 +41,11 @@ public class IndexHelpTopic extends HelpTopic {
|
||||
return sender.hasPermission(permission);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void amendCanSee(String amendedPermission) {
|
||||
permission = amendedPermission;
|
||||
}
|
||||
|
||||
public String getFullText(CommandSender sender) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
|
||||
Reference in new issue
Block a user