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

@@ -57,7 +57,7 @@ public abstract class BaseItemDoor extends ItemDoor
if (canPlace(world, x, y, z) && canPlace(world, x, y + 1, z) &&
player.canPlayerEdit(x, y, z, side, stack) && player.canPlayerEdit(x, y + 1, z, side, stack) &&
(!requireLink || PocketManager.getLink(x, y + 1, z, world) != null))
(!requireLink || PocketManager.getLink(x, y + 1, z, world) != null)&&stack.stackSize>0)
{
int orientation = MathHelper.floor_double((double) ((player.rotationYaw + 180.0F) * 4.0F / 360.0F) - 0.5D) & 3;
placeDoorBlock(world, x, y, z, orientation, doorBlock);