mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 22:34:21 +00:00
Merge branch 'master' into development
* master: Use apache library
This commit is contained in:
commit
dc7f5cfc9b
2 files changed
+4
-4
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user