diff --git a/README b/README index ff740f3..adaec79 100644 --- a/README +++ b/README @@ -79,6 +79,8 @@ gate-folder - The folder containing your .gate files ============= Changes ============= +[Version 0.11] + - Fuuuu- Some code got undid and broke everything. Fixed. [Version 0.10] - Hopefully fixed the "No position found" bug. - If dest > origin, any blocks past origin.size will drop you at dest[0] diff --git a/src/net/TheDgtl/Stargate/Portal.java b/src/net/TheDgtl/Stargate/Portal.java index 95a5c17..5d5bb86 100644 --- a/src/net/TheDgtl/Stargate/Portal.java +++ b/src/net/TheDgtl/Stargate/Portal.java @@ -277,7 +277,7 @@ public class Portal { Blox exit = getReverseExits().get(position); // Workaround for different size gates. Just drop them at the first exit block. if (exit == null) { - exit = (Blox)getReverseExits().values(); + exit = (Blox)getReverseExits().values().toArray()[0]; } if (exit != null) { diff --git a/src/plugin.yml b/src/plugin.yml index c0b311a..e799778 100644 --- a/src/plugin.yml +++ b/src/plugin.yml @@ -1,6 +1,6 @@ name: Stargate main: net.TheDgtl.Stargate.Stargate -version: 0.10 +version: 0.11 description: Stargate mod for Bukkit author: Drakia website: http://www.thedgtl.net \ No newline at end of file