diff --git a/common/buildcraft/builders/TileBuilder.java b/common/buildcraft/builders/TileBuilder.java index 644af0a5..ce2694fd 100644 --- a/common/buildcraft/builders/TileBuilder.java +++ b/common/buildcraft/builders/TileBuilder.java @@ -262,7 +262,7 @@ public class TileBuilder extends TileAbstractBuilder implements IHasWork, IFluid // themselves from world like IAreaProviders. if (tile instanceof TilePathMarker) { for (BlockIndex b : path) { - BuildCraftBuilders.pathMarkerBlock.dropBlockAsItem( + BuildCraftCore.pathMarkerBlock.dropBlockAsItem( worldObj, b.x, b.y, b.z, 0, 0); diff --git a/common/buildcraft/core/lib/block/BlockBuildCraft.java b/common/buildcraft/core/lib/block/BlockBuildCraft.java index dbb27d70..29a2ce9d 100644 --- a/common/buildcraft/core/lib/block/BlockBuildCraft.java +++ b/common/buildcraft/core/lib/block/BlockBuildCraft.java @@ -27,7 +27,6 @@ import net.minecraftforge.common.util.ForgeDirection; import buildcraft.BuildCraftCore; import buildcraft.api.events.BlockInteractionEvent; -import buildcraft.api.events.BlockPlacedDownEvent; import buildcraft.api.tiles.IHasWork; import buildcraft.core.BCCreativeTab; import buildcraft.core.lib.utils.ResourceUtils; diff --git a/common/buildcraft/transport/BlockGenericPipe.java b/common/buildcraft/transport/BlockGenericPipe.java index f43a83de..cce25eb8 100644 --- a/common/buildcraft/transport/BlockGenericPipe.java +++ b/common/buildcraft/transport/BlockGenericPipe.java @@ -50,7 +50,6 @@ import buildcraft.BuildCraftTransport; import buildcraft.api.blocks.IColorRemovable; import buildcraft.api.core.BCLog; import buildcraft.api.core.BlockIndex; -import buildcraft.api.events.PipePlacedEvent; import buildcraft.api.items.IMapLocation; import buildcraft.api.tools.IToolWrench; import buildcraft.api.transport.IPipe; diff --git a/common/buildcraft/transport/ItemPipe.java b/common/buildcraft/transport/ItemPipe.java index 099e43a1..224ba0ac 100644 --- a/common/buildcraft/transport/ItemPipe.java +++ b/common/buildcraft/transport/ItemPipe.java @@ -23,7 +23,7 @@ import net.minecraft.util.IIcon; import net.minecraft.world.World; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; - +import net.minecraftforge.common.util.ForgeDirection; import buildcraft.BuildCraftTransport; import buildcraft.api.core.BCLog; import buildcraft.api.core.IIconProvider; @@ -93,7 +93,7 @@ public class ItemPipe extends ItemBuildCraft implements IItemPipe { return true; } - if (BlockGenericPipe.placePipe(pipe, world, i, j, k, block, 0, entityplayer)) { + if (BlockGenericPipe.placePipe(pipe, world, i, j, k, block, 0, entityplayer, ForgeDirection.getOrientation(sideI))) { block.onBlockPlacedBy(world, i, j, k, entityplayer, itemstack); if (!world.isRemote) {