From f071567abb0da1f7bea864f9a2a6d1edd2f04036 Mon Sep 17 00:00:00 2001 From: Steven Scott Date: Mon, 5 Dec 2011 19:09:00 -0800 Subject: [PATCH] [Version 0.7.3.1] - Hopefully fixed "><" issue with destMemory --- README | 2 ++ src/net/TheDgtl/Stargate/Portal.java | 2 +- src/plugin.yml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README b/README index eb443dd..3ad7c23 100644 --- a/README +++ b/README @@ -197,6 +197,8 @@ createConflict=Gate conflicts with existing gate ============= Changes ============= +[Version 0.7.3.1] + - Hopefully fixed "><" issue with destMemory [Version 0.7.3] - Lava and water gates no longer destroy on reload - "sg reload" now closes gates before reloading diff --git a/src/net/TheDgtl/Stargate/Portal.java b/src/net/TheDgtl/Stargate/Portal.java index 090cc07..28b2b07 100644 --- a/src/net/TheDgtl/Stargate/Portal.java +++ b/src/net/TheDgtl/Stargate/Portal.java @@ -451,7 +451,7 @@ public class Portal { destinations.add(portal.getName()); } } - if (Stargate.destMemory && destinations.contains(lastDest)) { + if (Stargate.destMemory && !lastDest.isEmpty() && destinations.contains(lastDest)) { destination = lastDest; } drawSign(); diff --git a/src/plugin.yml b/src/plugin.yml index d784d4f..d33b25d 100644 --- a/src/plugin.yml +++ b/src/plugin.yml @@ -1,6 +1,6 @@ name: Stargate main: net.TheDgtl.Stargate.Stargate -version: 0.7.3 +version: 0.7.3.1 description: Stargate mod for Bukkit author: Drakia website: http://www.thedgtl.net