Merge branch 'development' into v9

* development:
  Use apache library
This commit is contained in:
aidancbrady 2016-01-19 14:41:25 -05:00
commit 51c9ca061c
2 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@ import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import net.minecraftforge.common.util.ForgeDirection;
import com.mojang.realmsclient.util.Pair;
import org.apache.commons.lang3.tuple.Pair;
public final class TransporterPathfinder
{

View file

@ -18,7 +18,7 @@ import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraftforge.common.util.ForgeDirection;
import com.mojang.realmsclient.util.Pair;
import org.apache.commons.lang3.tuple.Pair;
public class TransporterStack
{
@ -220,12 +220,12 @@ public class TransporterStack
return false;
}
if(newPath.second() == Path.HOME)
if(newPath.getRight() == Path.HOME)
{
idleDir = ForgeDirection.UNKNOWN;
}
setPath(newPath.first(), newPath.second());
setPath(newPath.getLeft(), newPath.getRight());
originalLocation = transporter.coord();
initiatedPath = true;