mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-02-21 06:52:15 +01:00
Added Yaml implementation of WorldProperties.
This commit is contained in:
parent
16eebc462b
commit
8aa5428a14
@ -0,0 +1,19 @@
|
|||||||
|
package com.onarandombox.multiverse.core;
|
||||||
|
|
||||||
|
import com.dumptruckman.minecraft.pluginbase.plugin.BukkitPlugin;
|
||||||
|
import com.dumptruckman.minecraft.pluginbase.properties.YamlProperties;
|
||||||
|
import com.onarandombox.multiverse.core.api.WorldProperties;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* YAML implementation of {@link WorldProperties} which will store all the world properties in a
|
||||||
|
* YAML file named after the world.
|
||||||
|
*/
|
||||||
|
class YamlWorldProperties extends YamlProperties implements WorldProperties {
|
||||||
|
|
||||||
|
YamlWorldProperties(BukkitPlugin plugin, File configFile) throws IOException {
|
||||||
|
super(plugin, false, true, configFile, WorldProperties.class);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user