mirror of https://github.com/cabaletta/baritone
partially appease codacy
This commit is contained in:
parent
32a4c4644e
commit
108dbdae5d
|
@ -22,9 +22,7 @@ import net.minecraft.block.state.IBlockState;
|
|||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.util.math.ChunkPos;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author Brady
|
||||
|
|
|
@ -59,7 +59,9 @@ public class ElytraCommand extends Command {
|
|||
if (iGoal == null) {
|
||||
throw new CommandInvalidStateException("No goal has been set");
|
||||
}
|
||||
final int x, y, z;
|
||||
final int x;
|
||||
final int y;
|
||||
final int z;
|
||||
if (iGoal instanceof GoalXZ) {
|
||||
GoalXZ goal = (GoalXZ) iGoal;
|
||||
x = goal.getX();
|
||||
|
|
|
@ -33,7 +33,6 @@ import net.minecraft.init.Blocks;
|
|||
import net.minecraft.util.math.AxisAlignedBB;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.util.math.MathHelper;
|
||||
import net.minecraft.util.math.Vec3d;
|
||||
|
||||
import java.awt.*;
|
||||
import java.util.Arrays;
|
||||
|
|
Loading…
Reference in New Issue