Fixed TilePlacer to function

This commit is contained in:
tgame14 2014-03-19 18:44:04 +02:00
parent a0e59d9736
commit dbe2ce3612

View file

@ -37,14 +37,12 @@ public class TilePlacer extends TileInventory implements IRotatable, IPacketRece
@Override
public void onAdded ()
{
if (!getWorldObj().isRemote)
work();
}
@Override
public void onNeighborChanged ()
{
if (!getWorldObj().isRemote)
work();
}
@ -53,7 +51,6 @@ public class TilePlacer extends TileInventory implements IRotatable, IPacketRece
if (isIndirectlyPowered())
{
ForgeDirection dir = getDirection();
Vector3 check = position().translate(dir);
ItemStack placeStack = null;
if (getStackInSlot(0) == null)
{