Bukkit/CraftBukkit — pull request #903 by ammaraskar (2012-10-19 15:45:37+00:00)
Title: Properly null check permission node for help topics. Fixes BUKKIT-2618

JIRA ticket: https://bukkit.atlassian.net/browse/BUKKIT-2618

Currently having a permission config node is necessary in order to create a help topic, omitting it results in a null pointer due to the lack of a sanity check here, however specifying an empty string as a permission node works, ideally this should be set up so that omitting it results in no permission check too. It seems this was the original developer's intentions however he missed a null check here