From 4266af4ad1412bcb939c0414a955b4c0a27c8a90 Mon Sep 17 00:00:00 2001 From: 502647092 Date: Thu, 28 Jul 2016 18:29:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=E7=B1=BB=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 502647092 --- src/main/java/pw/yumc/BukkitInjectedTools/YumTestCommand.java | 4 ++-- .../java/pw/yumc/BukkitInjectedTools/YumTestListener.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 喵♂呜 */