partially appease codacy

This commit is contained in:
Brady
2023-07-16 20:29:30 -05:00
parent 32a4c4644e
commit 108dbdae5d
3 changed files with 3 additions and 4 deletions

View File

@@ -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();

View File

@@ -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;