Skip to content

Commit fcdb8cb

Browse files
refactor(stash-finder): internal chunkPos is effectively final
Only the counters are to be mutated at any time.
1 parent 580952e commit fcdb8cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/java/meteordevelopment/meteorclient/systems/modules/world

‎src/main/java/meteordevelopment/meteorclient/systems/modules/world/StashFinder.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ public enum Mode {
502502
}
503503

504504
public static class Chunk {
505-
public ChunkPos chunkPos;
505+
public final ChunkPos chunkPos;
506506
public int chests, barrels, shulkers, enderChests, furnaces, dispensersDroppers, hoppers;
507507

508508
public Chunk(ChunkPos chunkPos) {

0 commit comments

Comments
 (0)