fix
This commit is contained in:
parent
ca8b8151b6
commit
e0dc7a7a9f
|
@ -3,9 +3,8 @@ package com.yaohun.enderdragonwars;
|
|||
import com.yaohun.enderdragonwars.effect.types.*;
|
||||
import com.yaohun.enderdragonwars.game.Game;
|
||||
import com.yaohun.enderdragonwars.listener.GameListener;
|
||||
import com.yaohun.enderdragonwars.listener.LiveListener;
|
||||
import com.yaohun.enderdragonwars.listener.PlayerListener;
|
||||
import com.yaohun.enderdragonwars.liveevent.LikeListener;
|
||||
import com.yaohun.enderdragonwars.liveevent.LiveEvent;
|
||||
import com.yaohun.enderdragonwars.manager.GameManager;
|
||||
import com.yaohun.enderdragonwars.manager.GiftEffectManager;
|
||||
import org.bukkit.Bukkit;
|
||||
|
@ -29,8 +28,7 @@ public class Main extends JavaPlugin {
|
|||
|
||||
Bukkit.getPluginManager().registerEvents(new PlayerListener(), this);
|
||||
Bukkit.getPluginManager().registerEvents(new GameListener(), this);
|
||||
Bukkit.getPluginManager().registerEvents(new LiveEvent(), this);
|
||||
Bukkit.getPluginManager().registerEvents(new LikeListener(), this);
|
||||
Bukkit.getPluginManager().registerEvents(new LiveListener(), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -13,7 +13,7 @@ import org.bukkit.entity.Player;
|
|||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.Listener;
|
||||
|
||||
public class LikeListener implements Listener {
|
||||
public class LiveListener implements Listener {
|
||||
|
||||
@EventHandler
|
||||
public void onDianZan(LiveLikeEvents e) {
|
Loading…
Reference in New Issue
Block a user