mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 19:24:44 +02:00
Moved all Spout checks into one listener.
This commit is contained in:
@ -25,9 +25,7 @@ import com.gmail.nossr50.datatypes.HUDmmo;
|
||||
import com.gmail.nossr50.datatypes.PlayerProfile;
|
||||
import com.gmail.nossr50.datatypes.popups.PopupMMO;
|
||||
import com.gmail.nossr50.datatypes.SkillType;
|
||||
import com.gmail.nossr50.listeners.SpoutInputListener;
|
||||
import com.gmail.nossr50.listeners.SpoutListener;
|
||||
import com.gmail.nossr50.listeners.SpoutScreenListener;
|
||||
import com.gmail.nossr50.util.Misc;
|
||||
import com.gmail.nossr50.util.Users;
|
||||
|
||||
@ -41,8 +39,6 @@ public class SpoutStuff {
|
||||
public final static String soundDirectory = spoutDirectory + "Sound" + File.separator;
|
||||
|
||||
private final static SpoutListener spoutListener = new SpoutListener(plugin);
|
||||
private final static SpoutInputListener spoutInputListener = new SpoutInputListener(plugin);
|
||||
private final static SpoutScreenListener spoutScreenListener = new SpoutScreenListener(plugin);
|
||||
|
||||
public static HashMap<Player, HUDmmo> playerHUDs = new HashMap<Player, HUDmmo>();
|
||||
public static HashMap<SpoutPlayer, PopupMMO> playerScreens = new HashMap<SpoutPlayer, PopupMMO>();
|
||||
@ -201,8 +197,6 @@ public class SpoutStuff {
|
||||
*/
|
||||
public static void registerCustomEvent() {
|
||||
plugin.getServer().getPluginManager().registerEvents(spoutListener, plugin);
|
||||
plugin.getServer().getPluginManager().registerEvents(spoutInputListener, plugin);
|
||||
plugin.getServer().getPluginManager().registerEvents(spoutScreenListener, plugin);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user