[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.entity.Painting;
/**
* Triggered when a painting is removed by an entity
*/
@SuppressWarnings("serial")
public class PaintingBreakByEntityEvent extends PaintingBreakEvent {
private final Entity remover;

View File

@@ -7,10 +7,8 @@ import org.bukkit.event.HandlerList;
/**
* Triggered when a painting is removed
*/
@SuppressWarnings("serial")
public class PaintingBreakEvent extends PaintingEvent implements Cancellable {
private static final HandlerList handlers = new HandlerList();
private boolean cancelled;
private final RemoveCause cause;

View File

@@ -6,9 +6,7 @@ import org.bukkit.event.Event;
/**
* Represents a painting-related event.
*/
@SuppressWarnings("serial")
public abstract class PaintingEvent extends Event {
protected Painting painting;
protected PaintingEvent(final Painting painting) {

View File

@@ -10,12 +10,9 @@ import org.bukkit.event.HandlerList;
/**
* Triggered when a painting is created in the world
*/
@SuppressWarnings("serial")
public class PaintingPlaceEvent extends PaintingEvent implements Cancellable {
private static final HandlerList handlers = new HandlerList();
private boolean cancelled;
private final Player player;
private final Block block;
private final BlockFace blockFace;