[Bleeding] Event no longer implements Serializable.
By: Feildmaster <admin@feildmaster.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user