small cleanup

This commit is contained in:
Luck
2016-06-23 13:29:51 +01:00
Unverified
parent 0380b7017d
commit 85989aeb7c
21 changed files with 26 additions and 30 deletions
@@ -27,6 +27,7 @@ public class BungeeConfig implements LPConfiguration {
}
}
@SuppressWarnings("ResultOfMethodCallIgnored")
private File makeFile(String file) throws IOException {
File cfg = new File(plugin.getDataFolder(), file);
@@ -8,7 +8,7 @@ import net.md_5.bungee.api.plugin.Command;
import java.util.Arrays;
public class MainCommand extends Command {
class MainCommand extends Command {
private final CommandManager manager;
public MainCommand(CommandManager manager) {
@@ -3,7 +3,6 @@ package me.lucko.luckperms.listeners;
import lombok.AllArgsConstructor;
import me.lucko.luckperms.LPBungeePlugin;
import me.lucko.luckperms.commands.Util;
import me.lucko.luckperms.data.Datastore;
import me.lucko.luckperms.users.User;
import net.md_5.bungee.api.chat.TextComponent;
import net.md_5.bungee.api.connection.ProxiedPlayer;
@@ -12,12 +12,12 @@ public class BungeeUser extends User {
private final LPBungeePlugin plugin;
public BungeeUser(UUID uuid, LPBungeePlugin plugin) {
BungeeUser(UUID uuid, LPBungeePlugin plugin) {
super(uuid, plugin);
this.plugin = plugin;
}
public BungeeUser(UUID uuid, String username, LPBungeePlugin plugin) {
BungeeUser(UUID uuid, String username, LPBungeePlugin plugin) {
super(uuid, username, plugin);
this.plugin = plugin;
}