refactor: move PlayerCache to Utils

This commit is contained in:
Simon Giesel 2020-05-07 09:31:04 +02:00
parent 8b89e2ef96
commit 3a9df9cddc
4 changed files with 5 additions and 4 deletions

View file

@ -25,6 +25,7 @@ import de.cliffbreak.varo.listeners.PlayerJoinQuitListener;
import de.cliffbreak.varo.listeners.PlayerPreLoginListener;
import de.cliffbreak.varo.managers.NPCManager;
import de.cliffbreak.varo.uitls.BanUtils;
import de.cliffbreak.varo.uitls.PlayerCache;
public class Varo extends JavaPlugin {

View file

@ -6,7 +6,7 @@ import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import de.cliffbreak.varo.Varo;
import de.cliffbreak.varo.PlayerCache.PlayerCacheType;
import de.cliffbreak.varo.uitls.PlayerCache.PlayerCacheType;
public class PlayerClientOptionsChangeListener implements Listener {

View file

@ -1,7 +1,5 @@
package de.cliffbreak.varo.listeners;
import java.util.ArrayList;
import org.bukkit.Bukkit;
import org.bukkit.GameMode;
import org.bukkit.event.EventHandler;

View file

@ -1,4 +1,4 @@
package de.cliffbreak.varo;
package de.cliffbreak.varo.uitls;
import java.io.File;
import java.io.IOException;
@ -8,6 +8,8 @@ import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.inventory.MainHand;
import org.bukkit.scheduler.BukkitRunnable;
import de.cliffbreak.varo.Varo;
public class PlayerCache {
private Varo plugin;