[Bleeding] Event no longer implements Serializable.
By: Feildmaster <admin@feildmaster.com>
This commit is contained in:
@@ -6,7 +6,6 @@ import org.bukkit.map.MapView;
|
||||
/**
|
||||
* Called when a map is initialized.
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class MapInitializeEvent extends ServerEvent {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
private final MapView mapView;
|
||||
|
||||
@@ -6,7 +6,6 @@ import org.bukkit.plugin.Plugin;
|
||||
/**
|
||||
* Called when a plugin is disabled.
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class PluginDisableEvent extends PluginEvent {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@ import org.bukkit.plugin.Plugin;
|
||||
/**
|
||||
* Called when a plugin is enabled.
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class PluginEnableEvent extends PluginEvent {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ import org.bukkit.plugin.Plugin;
|
||||
/**
|
||||
* Used for plugin enable and disable events
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public abstract class PluginEvent extends ServerEvent {
|
||||
private final Plugin plugin;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@ import org.bukkit.event.HandlerList;
|
||||
/**
|
||||
* Remote Server Command events
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class RemoteServerCommandEvent extends ServerCommandEvent {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@ import org.bukkit.event.HandlerList;
|
||||
/**
|
||||
* Server Command events
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class ServerCommandEvent extends ServerEvent {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
private String command;
|
||||
|
||||
@@ -5,6 +5,5 @@ import org.bukkit.event.Event;
|
||||
/**
|
||||
* Miscellaneous server events
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public abstract class ServerEvent extends Event {
|
||||
}
|
||||
|
||||
@@ -7,10 +7,8 @@ import org.bukkit.event.HandlerList;
|
||||
/**
|
||||
* Called when a server list ping is coming in.
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class ServerListPingEvent extends ServerEvent {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
||||
private final InetAddress address;
|
||||
private String motd;
|
||||
private final int numPlayers;
|
||||
|
||||
Reference in New Issue
Block a user