Core/src/main/java/eu/univento/core/api/schematic/SchematicManager.java

31 lines
682 B
Java

package eu.univento.core.api.schematic;
import eu.univento.core.Core;
import eu.univento.core.api.player.CustomPlayer;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
/**
* @author joethei
* @version 0.1
*/
public class SchematicManager {
private Map<CustomPlayer, Schematic> schematics;
public void createFiles() {
File file = new File(Core.getInstance().getDataFolder().getAbsolutePath() + "/schematics");
if(!file.exists()) file.mkdirs();
}
public SchematicManager() {
this.schematics = new HashMap<>();
}
public boolean load(Schematic schematic, CustomPlayer player) {
return false;
}
}