Fix #1890 NPE with Quark

This commit is contained in:
Nedelosk committed 2017-11-08 20:33:59 +01:00
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));
}