partially appease codacy

This commit is contained in:
Brady 2023-07-16 20:29:30 -05:00
parent 32a4c4644e
commit 108dbdae5d
No known key found for this signature in database
GPG Key ID: 73A788379A197567
3 changed files with 3 additions and 4 deletions

View File

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

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;