Ensure maps are stored only in the main world. Fixes BUKKIT-4872

Remapped by Srg2Source from Bukkit/CraftBukkit@6fe76fa7f8098c3666d70fb6fd4066e91b123370