[Version 0.7.5.6]

- Quick update to the custom event code, works with R5+ now.
This commit is contained in:
Steven Scott 2012-02-22 19:11:50 -08:00
parent f33586ced8
commit 3ff6b8b253
11 changed files with 3 additions and 13 deletions

2
README
View File

@ -201,6 +201,8 @@ createConflict=Gate conflicts with existing gate
============= =============
Changes Changes
============= =============
[Version 0.7.5.6]
- Quick update to the custom event code, works with R5+ now.
[Version 0.7.5.5] [Version 0.7.5.5]
- PEX is built of fail, if we have it, use bridge instead. - PEX is built of fail, if we have it, use bridge instead.
[Version 0.7.5.4] [Version 0.7.5.4]

View File

@ -6,7 +6,6 @@ import org.bukkit.event.HandlerList;
import net.TheDgtl.Stargate.Portal; import net.TheDgtl.Stargate.Portal;
public class StargateAccessEvent extends StargateEvent { public class StargateAccessEvent extends StargateEvent {
private static final long serialVersionUID = -1009056668229801760L;
private Player player; private Player player;
private boolean deny; private boolean deny;

View File

@ -6,8 +6,6 @@ import org.bukkit.event.HandlerList;
import net.TheDgtl.Stargate.Portal; import net.TheDgtl.Stargate.Portal;
public class StargateActivateEvent extends StargateEvent { public class StargateActivateEvent extends StargateEvent {
private static final long serialVersionUID = -8058490029263773684L;
Player player; Player player;
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();

View File

@ -5,7 +5,6 @@ import org.bukkit.event.HandlerList;
import net.TheDgtl.Stargate.Portal; import net.TheDgtl.Stargate.Portal;
public class StargateCloseEvent extends StargateEvent { public class StargateCloseEvent extends StargateEvent {
private static final long serialVersionUID = -4382967941863636023L;
private boolean force; private boolean force;
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();

View File

@ -5,7 +5,6 @@ import org.bukkit.entity.Player;
import org.bukkit.event.HandlerList; import org.bukkit.event.HandlerList;
public class StargateCreateEvent extends StargateEvent { public class StargateCreateEvent extends StargateEvent {
private static final long serialVersionUID = -4719797912801580960L;
private Player player; private Player player;
private boolean deny; private boolean deny;
private String denyReason; private String denyReason;

View File

@ -5,8 +5,6 @@ import org.bukkit.event.HandlerList;
import net.TheDgtl.Stargate.Portal; import net.TheDgtl.Stargate.Portal;
public class StargateDeactivateEvent extends StargateEvent { public class StargateDeactivateEvent extends StargateEvent {
private static final long serialVersionUID = -1863190375834892100L;
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();
public HandlerList getHandlers() { public HandlerList getHandlers() {

View File

@ -5,7 +5,6 @@ import org.bukkit.entity.Player;
import org.bukkit.event.HandlerList; import org.bukkit.event.HandlerList;
public class StargateDestroyEvent extends StargateEvent { public class StargateDestroyEvent extends StargateEvent {
private static final long serialVersionUID = 1429032103662930225L;
private Player player; private Player player;
private boolean deny; private boolean deny;
private String denyReason; private String denyReason;

View File

@ -6,12 +6,10 @@ import org.bukkit.event.Cancellable;
import org.bukkit.event.Event; import org.bukkit.event.Event;
public class StargateEvent extends Event implements Cancellable { public class StargateEvent extends Event implements Cancellable {
private static final long serialVersionUID = -5079274654178040431L;
protected Portal portal; protected Portal portal;
protected boolean cancelled; protected boolean cancelled;
public StargateEvent(String event, Portal portal) { public StargateEvent(String event, Portal portal) {
super (event);
this.portal = portal; this.portal = portal;
this.cancelled = false; this.cancelled = false;
} }

View File

@ -6,7 +6,6 @@ import org.bukkit.entity.Player;
import org.bukkit.event.HandlerList; import org.bukkit.event.HandlerList;
public class StargateOpenEvent extends StargateEvent { public class StargateOpenEvent extends StargateEvent {
private static final long serialVersionUID = -2804865767733660648L;
private Player player; private Player player;
private boolean force; private boolean force;

View File

@ -7,7 +7,6 @@ import org.bukkit.entity.Player;
import org.bukkit.event.HandlerList; import org.bukkit.event.HandlerList;
public class StargatePortalEvent extends StargateEvent { public class StargatePortalEvent extends StargateEvent {
private static final long serialVersionUID = -7263321536459960366L;
private Player player; private Player player;
private Portal destination; private Portal destination;
private Location exit; private Location exit;

View File

@ -1,6 +1,6 @@
name: Stargate name: Stargate
main: net.TheDgtl.Stargate.Stargate main: net.TheDgtl.Stargate.Stargate
version: 0.7.5.5 version: 0.7.5.6
description: Stargate mod for Bukkit description: Stargate mod for Bukkit
author: Drakia author: Drakia
website: http://www.thedgtl.net website: http://www.thedgtl.net