Fuuuu- Some code got undid and broke everything. Fixed.

This commit is contained in:
Drakia 2011-02-14 22:02:22 -08:00
parent d37adb90ee
commit 1600139c4b
3 changed files with 4 additions and 2 deletions

2
README
View File

@ -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]

View File

@ -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) {

View File

@ -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