[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

@@ -8,10 +8,8 @@ import org.bukkit.event.HandlerList;
/**
* Stores data for lightning striking
*/
@SuppressWarnings("serial")
public class LightningStrikeEvent extends WeatherEvent implements Cancellable {
private static final HandlerList handlers = new HandlerList();
private boolean canceled;
private final LightningStrike bolt;

View File

@@ -7,10 +7,8 @@ import org.bukkit.event.HandlerList;
/**
* Stores data for thunder state changing in a world
*/
@SuppressWarnings("serial")
public class ThunderChangeEvent extends WeatherEvent implements Cancellable {
private static final HandlerList handlers = new HandlerList();
private boolean canceled;
private final boolean to;

View File

@@ -7,10 +7,8 @@ import org.bukkit.event.HandlerList;
/**
* Stores data for weather changing in a world
*/
@SuppressWarnings("serial")
public class WeatherChangeEvent extends WeatherEvent implements Cancellable {
private static final HandlerList handlers = new HandlerList();
private boolean canceled;
private final boolean to;

View File

@@ -6,7 +6,6 @@ import org.bukkit.event.Event;
/**
* Represents a Weather-related event
*/
@SuppressWarnings("serial")
public abstract class WeatherEvent extends Event {
protected World world;