check for minecraft.theWorld != null