small tweaks & cleanup

This commit is contained in:
C10udburst
2022-02-19 15:37:14 +01:00
parent 370310b0a6
commit fce7e3a595
9 changed files with 27 additions and 44 deletions

View File

@@ -172,7 +172,7 @@ public class OreSim extends Module {
}
private ArrayList<BlockPos> addToBaritone(int chunkX, int chunkZ) {
ArrayList<BlockPos> baritoneGoals = new ArrayList();
ArrayList<BlockPos> baritoneGoals = new ArrayList<>();
long chunkKey = (long)chunkX + ((long)chunkZ << 32);
if (!this.chunkRenderers.containsKey(chunkKey)) {
return baritoneGoals;