From 0077a1860d6884aff2a4af71f42ff0a9c4466aec Mon Sep 17 00:00:00 2001 From: Michael Zanga Date: Tue, 2 Aug 2016 14:47:20 -0400 Subject: [PATCH] Finished BaseItemDoor. --- src/main/java/com/zixiken/dimdoors/items/BaseItemDoor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zixiken/dimdoors/items/BaseItemDoor.java b/src/main/java/com/zixiken/dimdoors/items/BaseItemDoor.java index b49ff85e..78942437 100644 --- a/src/main/java/com/zixiken/dimdoors/items/BaseItemDoor.java +++ b/src/main/java/com/zixiken/dimdoors/items/BaseItemDoor.java @@ -112,7 +112,7 @@ public abstract class BaseItemDoor extends ItemDoor { if (canPlace(world, pos) && canPlace(world, upPos) && player.canPlayerEdit(pos, side, stack) && (player.canPlayerEdit(upPos, side, stack) && stack.stackSize > 0) && ((stack.getItem() instanceof BaseItemDoor) || PocketManager.getLink(upPos, world) != null)) { - placeDoorBlock(world, pos, EnumFacing.fromAngle(player.rotationYaw), doorBlock); + placeDoor(world, pos, EnumFacing.fromAngle(player.rotationYaw), doorBlock); if (!player.capabilities.isCreativeMode) stack.stackSize--; return true; } @@ -142,7 +142,7 @@ public abstract class BaseItemDoor extends ItemDoor { if (player.canPlayerEdit(pos, hit.sideHit, stack) && player.canPlayerEdit(downPos, hit.sideHit, stack) && canPlace(world, pos) && canPlace(world, downPos)) { - placeDoorBlock(world, downPos, EnumFacing.fromAngle(player.rotationYaw), doorBlock); + placeDoor(world, downPos, EnumFacing.fromAngle(player.rotationYaw), doorBlock); if (!(stack.getItem() instanceof BaseItemDoor)) ((TileEntityDimDoor) world.getTileEntity(pos)).hasGennedPair = true; if (!player.capabilities.isCreativeMode) stack.stackSize--;