Use apache library
This commit is contained in:
parent
1540cd2230
commit
bfd32a1c3e
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue