What a horrible waste of time

This commit is contained in:
Anuken
2022-05-10 20:08:48 -04:00
parent 0218e2ed2d
commit 60d3a51ebc
4 changed files with 4 additions and 21 deletions

View File

@@ -337,7 +337,7 @@ public class BlockIndexer{
int size = breturnArray.size;
for(int i = 0; i < size; i++){
var b = items[i];
if(b.within(x, y, range + b.hitSize()/2f)){
if(b != null && b.within(x, y, range + b.hitSize()/2f)){
cons.get(b);
}
items[i] = null;