From cb98c6eaef4b85259660e289353b871d3c206f29 Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 25 Feb 2019 19:41:44 +1100 Subject: [PATCH] Fix line endings in CraftDefaultPermissions --- .../permissions/CraftDefaultPermissions.java | 35 +++++++++---------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/src/main/java/org/bukkit/craftbukkit/util/permissions/CraftDefaultPermissions.java b/src/main/java/org/bukkit/craftbukkit/util/permissions/CraftDefaultPermissions.java index 8a5249c5d0..c54d3efd6a 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/permissions/CraftDefaultPermissions.java +++ b/src/main/java/org/bukkit/craftbukkit/util/permissions/CraftDefaultPermissions.java @@ -1,18 +1,17 @@ -package org.bukkit.craftbukkit.util.permissions; - -import org.bukkit.permissions.Permission; -import org.bukkit.permissions.PermissionDefault; -import org.bukkit.util.permissions.DefaultPermissions; - -public final class CraftDefaultPermissions { - private static final String ROOT= "minecraft"; - - private CraftDefaultPermissions() {} - - public static void registerCorePermissions() { - Permission parent = DefaultPermissions.registerPermission(ROOT, "Gives the user the ability to use all vanilla utilities and commands"); - CommandPermissions.registerPermissions(parent); - DefaultPermissions.registerPermission(ROOT + ".autocraft", "Gives the user the ability to use autocraft functionality", PermissionDefault.OP, parent); - parent.recalculatePermissibles(); - } -} +package org.bukkit.craftbukkit.util.permissions; + +import org.bukkit.permissions.Permission; +import org.bukkit.permissions.PermissionDefault; +import org.bukkit.util.permissions.DefaultPermissions; + +public final class CraftDefaultPermissions { + private static final String ROOT= "minecraft"; + + private CraftDefaultPermissions() {} + + public static void registerCorePermissions() { + Permission parent = DefaultPermissions.registerPermission(ROOT, "Gives the user the ability to use all vanilla utilities and commands"); + CommandPermissions.registerPermissions(parent); + parent.recalculatePermissibles(); + } +}