Check world for null. Spigot checks it for some reason, so we do it too
just in case.