fix compile

This commit is contained in:
Adrian 2015-07-12 15:36:53 +02:00
parent 0d3b5b2eb7
commit 89dcc015f6
4 changed files with 3 additions and 5 deletions

View file

@ -262,7 +262,7 @@ public class TileBuilder extends TileAbstractBuilder implements IHasWork, IFluid
// themselves from world like IAreaProviders. // themselves from world like IAreaProviders.
if (tile instanceof TilePathMarker) { if (tile instanceof TilePathMarker) {
for (BlockIndex b : path) { for (BlockIndex b : path) {
BuildCraftBuilders.pathMarkerBlock.dropBlockAsItem( BuildCraftCore.pathMarkerBlock.dropBlockAsItem(
worldObj, b.x, b.y, b.z, worldObj, b.x, b.y, b.z,
0, 0); 0, 0);

View file

@ -27,7 +27,6 @@ import net.minecraftforge.common.util.ForgeDirection;
import buildcraft.BuildCraftCore; import buildcraft.BuildCraftCore;
import buildcraft.api.events.BlockInteractionEvent; import buildcraft.api.events.BlockInteractionEvent;
import buildcraft.api.events.BlockPlacedDownEvent;
import buildcraft.api.tiles.IHasWork; import buildcraft.api.tiles.IHasWork;
import buildcraft.core.BCCreativeTab; import buildcraft.core.BCCreativeTab;
import buildcraft.core.lib.utils.ResourceUtils; import buildcraft.core.lib.utils.ResourceUtils;

View file

@ -50,7 +50,6 @@ import buildcraft.BuildCraftTransport;
import buildcraft.api.blocks.IColorRemovable; import buildcraft.api.blocks.IColorRemovable;
import buildcraft.api.core.BCLog; import buildcraft.api.core.BCLog;
import buildcraft.api.core.BlockIndex; import buildcraft.api.core.BlockIndex;
import buildcraft.api.events.PipePlacedEvent;
import buildcraft.api.items.IMapLocation; import buildcraft.api.items.IMapLocation;
import buildcraft.api.tools.IToolWrench; import buildcraft.api.tools.IToolWrench;
import buildcraft.api.transport.IPipe; import buildcraft.api.transport.IPipe;

View file

@ -23,7 +23,7 @@ import net.minecraft.util.IIcon;
import net.minecraft.world.World; import net.minecraft.world.World;
import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly; import cpw.mods.fml.relauncher.SideOnly;
import net.minecraftforge.common.util.ForgeDirection;
import buildcraft.BuildCraftTransport; import buildcraft.BuildCraftTransport;
import buildcraft.api.core.BCLog; import buildcraft.api.core.BCLog;
import buildcraft.api.core.IIconProvider; import buildcraft.api.core.IIconProvider;
@ -93,7 +93,7 @@ public class ItemPipe extends ItemBuildCraft implements IItemPipe {
return true; 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); block.onBlockPlacedBy(world, i, j, k, entityplayer, itemstack);
if (!world.isRemote) { if (!world.isRemote) {