MapProviderModule
MapProviderModule provides an InstanceContainer for instance modules to clone.
Usage
Import the module:
import com.bluedragonmc.server.module.map.MapProviderModuleUse the module in your game’s initialize function:
// data is the GameData reference passed to your game's constructoruse(MapProviderModule(data.mapSource))The map source object comes from the queue, which finds a suitable map for the game, game mode, and players. Anvil and Polar maps are currently supported.
Once you use SharedInstanceModule or InstanceContainerModule, they will use the map given to MapProviderModule.