refactor: move PlayerCache to Utils
This commit is contained in:
parent
8b89e2ef96
commit
3a9df9cddc
4 changed files with 5 additions and 4 deletions
|
@ -25,6 +25,7 @@ import de.cliffbreak.varo.listeners.PlayerJoinQuitListener;
|
||||||
import de.cliffbreak.varo.listeners.PlayerPreLoginListener;
|
import de.cliffbreak.varo.listeners.PlayerPreLoginListener;
|
||||||
import de.cliffbreak.varo.managers.NPCManager;
|
import de.cliffbreak.varo.managers.NPCManager;
|
||||||
import de.cliffbreak.varo.uitls.BanUtils;
|
import de.cliffbreak.varo.uitls.BanUtils;
|
||||||
|
import de.cliffbreak.varo.uitls.PlayerCache;
|
||||||
|
|
||||||
public class Varo extends JavaPlugin {
|
public class Varo extends JavaPlugin {
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ import org.bukkit.event.EventHandler;
|
||||||
import org.bukkit.event.Listener;
|
import org.bukkit.event.Listener;
|
||||||
|
|
||||||
import de.cliffbreak.varo.Varo;
|
import de.cliffbreak.varo.Varo;
|
||||||
import de.cliffbreak.varo.PlayerCache.PlayerCacheType;
|
import de.cliffbreak.varo.uitls.PlayerCache.PlayerCacheType;
|
||||||
|
|
||||||
public class PlayerClientOptionsChangeListener implements Listener {
|
public class PlayerClientOptionsChangeListener implements Listener {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
package de.cliffbreak.varo.listeners;
|
package de.cliffbreak.varo.listeners;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.GameMode;
|
import org.bukkit.GameMode;
|
||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package de.cliffbreak.varo;
|
package de.cliffbreak.varo.uitls;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
@ -8,6 +8,8 @@ import org.bukkit.configuration.file.YamlConfiguration;
|
||||||
import org.bukkit.inventory.MainHand;
|
import org.bukkit.inventory.MainHand;
|
||||||
import org.bukkit.scheduler.BukkitRunnable;
|
import org.bukkit.scheduler.BukkitRunnable;
|
||||||
|
|
||||||
|
import de.cliffbreak.varo.Varo;
|
||||||
|
|
||||||
public class PlayerCache {
|
public class PlayerCache {
|
||||||
|
|
||||||
private Varo plugin;
|
private Varo plugin;
|
Loading…
Reference in a new issue