mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-26 23:13:21 +00:00
Intellij quick fixes (#234)
This commit is contained in:
1 parent
b5a2693d7c
commit
924b4dbbf2
259 files changed
+662
-717
No files matched your search
@@ -61,7 +61,7 @@ public class IoConfigRenderer {
|
||||
private double distance;
|
||||
private long initTime;
|
||||
|
||||
private Minecraft mc = Minecraft.getMinecraft();
|
||||
private final Minecraft mc = Minecraft.getMinecraft();
|
||||
private World world = mc.thePlayer.worldObj;
|
||||
|
||||
private final Vector3d origin = new Vector3d();
|
||||
@@ -72,8 +72,8 @@ public class IoConfigRenderer {
|
||||
|
||||
public BlockCoord originBC;
|
||||
|
||||
private List<BlockCoord> configurables = new ArrayList<BlockCoord>();
|
||||
private List<BlockCoord> neighbours = new ArrayList<BlockCoord>();
|
||||
private final List<BlockCoord> configurables = new ArrayList<>();
|
||||
private final List<BlockCoord> neighbours = new ArrayList<>();
|
||||
|
||||
private SelectedFace selection;
|
||||
|
||||
@@ -191,7 +191,7 @@ public class IoConfigRenderer {
|
||||
private void updateSelection(Vector3d start, Vector3d end) {
|
||||
start.add(origin);
|
||||
end.add(origin);
|
||||
List<MovingObjectPosition> hits = new ArrayList<MovingObjectPosition>();
|
||||
List<MovingObjectPosition> hits = new ArrayList<>();
|
||||
|
||||
for (BlockCoord bc : configurables) {
|
||||
Block block = world.getBlock(bc.x, bc.y, bc.z);
|
||||
|
||||
Reference in new issue
Block a user