mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
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
1 changed files with 3 additions and 1 deletions
|
@ -487,7 +487,9 @@ class ExtendedCollisionsStorage {
|
||||||
private int[] data;
|
private int[] data;
|
||||||
|
|
||||||
public int get(int index) {
|
public int get(int index) {
|
||||||
ensureDataExists();
|
if (data == null) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
return data[index];
|
return data[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue