diff --git a/src/main/java/pw/yumc/BukkitInjectedTools/YumTestCommand.java b/src/main/java/pw/yumc/BukkitInjectedTools/YumTestCommand.java index 476c0e4..37a2485 100644 --- a/src/main/java/pw/yumc/BukkitInjectedTools/YumTestCommand.java +++ b/src/main/java/pw/yumc/BukkitInjectedTools/YumTestCommand.java @@ -6,10 +6,10 @@ import java.io.IOException; import org.bukkit.Bukkit; import org.bukkit.OfflinePlayer; -import cn.citycraft.PluginHelper.bukkit.P; import cn.citycraft.PluginHelper.kit.PluginKit; import cn.citycraft.PluginHelper.utils.IOUtil; import pw.yumc.BukkitInjectedTools.event.YumTestEvent; +import pw.yumc.YumCore.bukkit.P; import pw.yumc.YumCore.commands.CommandArgument; import pw.yumc.YumCore.commands.CommandExecutor; import pw.yumc.YumCore.commands.CommandManager; @@ -135,6 +135,6 @@ public class YumTestCommand implements CommandExecutor { } private File getDataFolder() { - return P.instance.getDataFolder(); + return P.getDataFolder(); } } diff --git a/src/main/java/pw/yumc/BukkitInjectedTools/YumTestListener.java b/src/main/java/pw/yumc/BukkitInjectedTools/YumTestListener.java index 1929042..a40fb53 100644 --- a/src/main/java/pw/yumc/BukkitInjectedTools/YumTestListener.java +++ b/src/main/java/pw/yumc/BukkitInjectedTools/YumTestListener.java @@ -4,12 +4,12 @@ import org.bukkit.Bukkit; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; -import cn.citycraft.PluginHelper.bukkit.P; import pw.yumc.BukkitInjectedTools.event.YumTestEvent; +import pw.yumc.YumCore.bukkit.P; /** * Yum监听 - * + * * @since 2016年7月18日 下午7:06:20 * @author 喵♂呜 */