getSpongeConfig

abstract fun <C> getSpongeConfig(configClass: Class<C>): C

Retrieves a Sponge configuration.

Return

An instance of the configuration class C.

Parameters

C

The type of the configuration class.

configClass

The class of the configuration.