Stop open gates from being destroyed on startup
This commit is contained in:
@ -227,7 +227,8 @@ public class Gate {
|
||||
int id = types.get(layout[y][x]);
|
||||
|
||||
if (id == ENTRANCE || id == EXIT) {
|
||||
if (topleft.modRelative(x, y, 0, modX, 1, modZ).getType() != portalBlockClosed) {
|
||||
int type = topleft.modRelative(x, y, 0, modX, 1, modZ).getType();
|
||||
if (type != portalBlockClosed && type != portalBlockOpen) {
|
||||
return false;
|
||||
}
|
||||
} else if (id != ANYTHING) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: Stargate
|
||||
main: net.TheDgtl.Stargate.Stargate
|
||||
version: 0.6.0
|
||||
version: 0.6.1
|
||||
description: Stargate mod for Bukkit
|
||||
author: Drakia
|
||||
website: http://www.thedgtl.net
|
||||
|
Reference in New Issue
Block a user