From 3ff6b8b2537826e65f728deff68e34b7434b1251 Mon Sep 17 00:00:00 2001 From: Steven Scott Date: Wed, 22 Feb 2012 19:11:50 -0800 Subject: [PATCH] [Version 0.7.5.6] - Quick update to the custom event code, works with R5+ now. --- README | 2 ++ src/net/TheDgtl/Stargate/event/StargateAccessEvent.java | 1 - src/net/TheDgtl/Stargate/event/StargateActivateEvent.java | 2 -- src/net/TheDgtl/Stargate/event/StargateCloseEvent.java | 1 - src/net/TheDgtl/Stargate/event/StargateCreateEvent.java | 1 - src/net/TheDgtl/Stargate/event/StargateDeactivateEvent.java | 2 -- src/net/TheDgtl/Stargate/event/StargateDestroyEvent.java | 1 - src/net/TheDgtl/Stargate/event/StargateEvent.java | 2 -- src/net/TheDgtl/Stargate/event/StargateOpenEvent.java | 1 - src/net/TheDgtl/Stargate/event/StargatePortalEvent.java | 1 - src/plugin.yml | 2 +- 11 files changed, 3 insertions(+), 13 deletions(-) diff --git a/README b/README index be34245..252a0f8 100644 --- a/README +++ b/README @@ -201,6 +201,8 @@ createConflict=Gate conflicts with existing gate ============= Changes ============= +[Version 0.7.5.6] + - Quick update to the custom event code, works with R5+ now. [Version 0.7.5.5] - PEX is built of fail, if we have it, use bridge instead. [Version 0.7.5.4] diff --git a/src/net/TheDgtl/Stargate/event/StargateAccessEvent.java b/src/net/TheDgtl/Stargate/event/StargateAccessEvent.java index 5346001..46e5ede 100644 --- a/src/net/TheDgtl/Stargate/event/StargateAccessEvent.java +++ b/src/net/TheDgtl/Stargate/event/StargateAccessEvent.java @@ -6,7 +6,6 @@ import org.bukkit.event.HandlerList; import net.TheDgtl.Stargate.Portal; public class StargateAccessEvent extends StargateEvent { - private static final long serialVersionUID = -1009056668229801760L; private Player player; private boolean deny; diff --git a/src/net/TheDgtl/Stargate/event/StargateActivateEvent.java b/src/net/TheDgtl/Stargate/event/StargateActivateEvent.java index ecc30c5..668cf46 100644 --- a/src/net/TheDgtl/Stargate/event/StargateActivateEvent.java +++ b/src/net/TheDgtl/Stargate/event/StargateActivateEvent.java @@ -6,8 +6,6 @@ import org.bukkit.event.HandlerList; import net.TheDgtl.Stargate.Portal; public class StargateActivateEvent extends StargateEvent { - private static final long serialVersionUID = -8058490029263773684L; - Player player; private static final HandlerList handlers = new HandlerList(); diff --git a/src/net/TheDgtl/Stargate/event/StargateCloseEvent.java b/src/net/TheDgtl/Stargate/event/StargateCloseEvent.java index 37d59f5..85ab994 100644 --- a/src/net/TheDgtl/Stargate/event/StargateCloseEvent.java +++ b/src/net/TheDgtl/Stargate/event/StargateCloseEvent.java @@ -5,7 +5,6 @@ import org.bukkit.event.HandlerList; import net.TheDgtl.Stargate.Portal; public class StargateCloseEvent extends StargateEvent { - private static final long serialVersionUID = -4382967941863636023L; private boolean force; private static final HandlerList handlers = new HandlerList(); diff --git a/src/net/TheDgtl/Stargate/event/StargateCreateEvent.java b/src/net/TheDgtl/Stargate/event/StargateCreateEvent.java index 99ceb6d..36c48f2 100644 --- a/src/net/TheDgtl/Stargate/event/StargateCreateEvent.java +++ b/src/net/TheDgtl/Stargate/event/StargateCreateEvent.java @@ -5,7 +5,6 @@ import org.bukkit.entity.Player; import org.bukkit.event.HandlerList; public class StargateCreateEvent extends StargateEvent { - private static final long serialVersionUID = -4719797912801580960L; private Player player; private boolean deny; private String denyReason; diff --git a/src/net/TheDgtl/Stargate/event/StargateDeactivateEvent.java b/src/net/TheDgtl/Stargate/event/StargateDeactivateEvent.java index 829676b..f76bab4 100644 --- a/src/net/TheDgtl/Stargate/event/StargateDeactivateEvent.java +++ b/src/net/TheDgtl/Stargate/event/StargateDeactivateEvent.java @@ -5,8 +5,6 @@ import org.bukkit.event.HandlerList; import net.TheDgtl.Stargate.Portal; public class StargateDeactivateEvent extends StargateEvent { - private static final long serialVersionUID = -1863190375834892100L; - private static final HandlerList handlers = new HandlerList(); public HandlerList getHandlers() { diff --git a/src/net/TheDgtl/Stargate/event/StargateDestroyEvent.java b/src/net/TheDgtl/Stargate/event/StargateDestroyEvent.java index c0d55b2..6c89757 100644 --- a/src/net/TheDgtl/Stargate/event/StargateDestroyEvent.java +++ b/src/net/TheDgtl/Stargate/event/StargateDestroyEvent.java @@ -5,7 +5,6 @@ import org.bukkit.entity.Player; import org.bukkit.event.HandlerList; public class StargateDestroyEvent extends StargateEvent { - private static final long serialVersionUID = 1429032103662930225L; private Player player; private boolean deny; private String denyReason; diff --git a/src/net/TheDgtl/Stargate/event/StargateEvent.java b/src/net/TheDgtl/Stargate/event/StargateEvent.java index 44b1597..1d59cbc 100644 --- a/src/net/TheDgtl/Stargate/event/StargateEvent.java +++ b/src/net/TheDgtl/Stargate/event/StargateEvent.java @@ -6,12 +6,10 @@ import org.bukkit.event.Cancellable; import org.bukkit.event.Event; public class StargateEvent extends Event implements Cancellable { - private static final long serialVersionUID = -5079274654178040431L; protected Portal portal; protected boolean cancelled; public StargateEvent(String event, Portal portal) { - super (event); this.portal = portal; this.cancelled = false; } diff --git a/src/net/TheDgtl/Stargate/event/StargateOpenEvent.java b/src/net/TheDgtl/Stargate/event/StargateOpenEvent.java index c837514..62e134f 100644 --- a/src/net/TheDgtl/Stargate/event/StargateOpenEvent.java +++ b/src/net/TheDgtl/Stargate/event/StargateOpenEvent.java @@ -6,7 +6,6 @@ import org.bukkit.entity.Player; import org.bukkit.event.HandlerList; public class StargateOpenEvent extends StargateEvent { - private static final long serialVersionUID = -2804865767733660648L; private Player player; private boolean force; diff --git a/src/net/TheDgtl/Stargate/event/StargatePortalEvent.java b/src/net/TheDgtl/Stargate/event/StargatePortalEvent.java index 8c06ad7..8171cc9 100644 --- a/src/net/TheDgtl/Stargate/event/StargatePortalEvent.java +++ b/src/net/TheDgtl/Stargate/event/StargatePortalEvent.java @@ -7,7 +7,6 @@ import org.bukkit.entity.Player; import org.bukkit.event.HandlerList; public class StargatePortalEvent extends StargateEvent { - private static final long serialVersionUID = -7263321536459960366L; private Player player; private Portal destination; private Location exit; diff --git a/src/plugin.yml b/src/plugin.yml index e050d0d..ad16aad 100644 --- a/src/plugin.yml +++ b/src/plugin.yml @@ -1,6 +1,6 @@ name: Stargate main: net.TheDgtl.Stargate.Stargate -version: 0.7.5.5 +version: 0.7.5.6 description: Stargate mod for Bukkit author: Drakia website: http://www.thedgtl.net