prepare for finishing rebranding

This commit is contained in:
YouHaveTrouble
2022-01-26 14:41:12 +01:00
parent 1e7adf398a
commit 9a9a44939a
8 changed files with 12 additions and 22 deletions
@@ -8,7 +8,6 @@ import org.bukkit.command.CommandSender;
public class ReloadCommand {
public static void reload(CommandSender sender) {
Bukkit.getScheduler().runTaskAsynchronously(PreventStabby.getPlugin(), () -> {
if (!sender.hasPermission("preventstabby.command.reload")) {
String message = ChatColor.translateAlternateColorCodes('&', PreventStabby.getPlugin().getConfigCache().getNo_permission());
@@ -17,7 +16,6 @@ public class ReloadCommand {
}
PreventStabby.getPlugin().reloadPluginConfig(sender);
});
}
}