cn.nukkit.event.plugin.PluginEvent Maven / Gradle / Ivy
package cn.nukkit.event.plugin;
import cn.nukkit.event.Event;
import cn.nukkit.event.HandlerList;
import cn.nukkit.plugin.Plugin;
/**
* @author MagicDroidX (Nukkit Project)
*/
public class PluginEvent extends Event {
private static final HandlerList handlers = new HandlerList();
private final Plugin plugin;
public PluginEvent(Plugin plugin) {
this.plugin = plugin;
}
public static HandlerList getHandlers() {
return handlers;
}
public Plugin getPlugin() {
return plugin;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy