mirror of https://github.com/GeyserMC/Geyser.git
keep arr null on get extcolstor
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
This commit is contained in:
parent
0e534f5296
commit
31bb382d3c
|
@ -487,7 +487,9 @@ class ExtendedCollisionsStorage {
|
|||
private int[] data;
|
||||
|
||||
public int get(int index) {
|
||||
ensureDataExists();
|
||||
if (data == null) {
|
||||
return 0;
|
||||
}
|
||||
return data[index];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue