fix-1
This commit is contained in:
parent
f4b37b12b5
commit
8f5b2fb3d7
|
@ -4,7 +4,7 @@ import com.yaohun.questsystem.api.QuestAPI;
|
|||
import com.yaohun.questsystem.data.PlayerData;
|
||||
import com.yaohun.questsystem.data.QuestData;
|
||||
import com.yaohun.questsystem.data.database.SqlManager;
|
||||
import com.yaohun.questsystem.listener.JoinEvent;
|
||||
import com.yaohun.questsystem.listener.PlayerListener;
|
||||
import com.yaohun.questsystem.manage.DataManage;
|
||||
import com.yaohun.questsystem.util.SqlUtil;
|
||||
import com.yaohun.questsystem.util.TimeType;
|
||||
|
@ -34,7 +34,7 @@ public class Main extends JavaPlugin {
|
|||
for (Player player : Bukkit.getOnlinePlayers()) {
|
||||
Main.dataManage.loadPlayerData(player);
|
||||
}
|
||||
getServer().getPluginManager().registerEvents(new JoinEvent(), this);
|
||||
getServer().getPluginManager().registerEvents(new PlayerListener(), this);
|
||||
DemonAPI.sendConsoleMessage("§f[§6!§f] §aQuestSystem §f加载完成,祝你使用愉快!");
|
||||
DemonAPI.sendConsoleMessage("§f[§6!§f] §b极光像素工作室出品");
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ import org.bukkit.event.player.PlayerKickEvent;
|
|||
import org.bukkit.event.player.PlayerQuitEvent;
|
||||
import org.bukkit.scheduler.BukkitRunnable;
|
||||
|
||||
public class JoinEvent implements Listener {
|
||||
public class PlayerListener implements Listener {
|
||||
|
||||
@EventHandler
|
||||
public void onJoin(PlayerJoinEvent e) {
|
Loading…
Reference in New Issue
Block a user