Added gold dim doors, fixes

Deleted the sun and adding gold dim doors
This commit is contained in:
StevenRS11
2013-09-10 04:32:19 -04:00
parent 79349e9add
commit 52aa836f75
24 changed files with 707 additions and 210 deletions

View File

@@ -224,7 +224,8 @@ public class PocketBuilder
//Check if the block below that point is actually a door
int blockID = world.getBlockId(source.getX(), source.getY() - 1, source.getZ());
if (blockID != properties.DimensionalDoorID && blockID != properties.WarpDoorID &&
blockID != properties.TransientDoorID)
blockID != properties.TransientDoorID &&
blockID != properties.GoldDimDoorID)
{
throw new IllegalStateException("The link's source is not a door block. It should be impossible to traverse a rift without a door!");
}