keep arr null on get extcolstor

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
This commit is contained in:
Joshua Castle 2023-05-13 11:56:15 -07:00
parent 0e534f5296
commit 31bb382d3c
No known key found for this signature in database
GPG key ID: F674F38216C35D5D

View file

@ -487,7 +487,9 @@ class ExtendedCollisionsStorage {
private int[] data;
public int get(int index) {
ensureDataExists();
if (data == null) {
return 0;
}
return data[index];
}