36 lines
809 B
Java
36 lines
809 B
Java
/*
|
|
* Copyright (c) 2017 univento.eu - All rights reserved
|
|
* You are not allowed to use, distribute or modify this code
|
|
*/
|
|
|
|
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.5
|
|
*/
|
|
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;
|
|
}
|
|
|
|
} |