MCPcopy Create free account
hub / github.com/Teneted/Tenet / amendCanSee

Method amendCanSee

src/main/java/org/bukkit/help/HelpTopic.java:48–50  ·  view source on GitHub ↗

Allows the server administrator to override the permission required to see a help topic. HelpTopic implementations should take this into account when determining topic visibility on the HelpTopic#canSee(org.bukkit.command.CommandSender) function. @param amendedPermission The permission

(@Nullable String amendedPermission)

Source from the content-addressed store, hash-verified

46 * wishes to apply to this topic.
47 */
48 public void amendCanSee(@Nullable String amendedPermission) {
49 this.amendedPermission = amendedPermission;
50 }
51
52 /**
53 * Returns the name of this help topic.

Callers 1

initializeCommandsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected