mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-24 05:54:34 +00:00
quick fix : Collections.sort() can be replaced with List.sort()
This commit is contained in:
1 parent
bbaba41d83
commit
3d1489401c
2 files changed
+7
-13
No files matched your search
@@ -130,8 +130,8 @@ public class TankLayerScan extends LogicComponent {
|
||||
|
||||
// @SuppressWarnings({ "unchecked" })
|
||||
protected void finalizeStructure() {
|
||||
Collections.sort(blockCoords, new CoordTupleSort());
|
||||
Collections.sort(airCoords, new CoordTupleSort());
|
||||
blockCoords.sort(new CoordTupleSort());
|
||||
airCoords.sort(new CoordTupleSort());
|
||||
|
||||
for (CoordTuple coord : blockCoords) {
|
||||
TileEntity servant = world.getTileEntity(coord.x, coord.y, coord.z);
|
||||
|
||||
Reference in new issue
Block a user