* Checks if the command sender has a permission.
* @param node The permissions node.
* @return true is the sender has a permission, false if not.
*/
public static boolean senderHasPermission(String node) {
CommandSender sender = CommandManager.getSender();
boolean usePermissions = Configuration.getBoolean("configuration.use-permissions");
// Console always has the permissions
Player player;
if (isPlayer()) player = (Player) sender;