[Bleeding] Event no longer implements Serializable.

By: Feildmaster <admin@feildmaster.com>
This commit is contained in:
Bukkit/Spigot
2012-02-19 01:25:46 -06:00
parent 0fd379166c
commit e4de1795db
129 changed files with 4 additions and 170 deletions

View File

@@ -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;

View File

@@ -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();

View File

@@ -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();

View File

@@ -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;

View File

@@ -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();

View File

@@ -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;

View File

@@ -5,6 +5,5 @@ import org.bukkit.event.Event;
/**
* Miscellaneous server events
*/
@SuppressWarnings("serial")
public abstract class ServerEvent extends Event {
}

View File

@@ -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;