mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-22 12:59:44 +00:00
Fix #1890 NPE with Quark
This commit is contained in:
1 parent
9814601ff2
commit
37893d8aca
1 file changed
+4
-1
@@ -47,7 +47,10 @@ public final class World2ObjectMap<O> {
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public O get(World world){
|
||||
public O get(@Nullable World world){
|
||||
if(world == null){
|
||||
return null;
|
||||
}
|
||||
return delegate.get(getIndex(world));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user