feat: 添加新构造方法

Signed-off-by: 502647092 <admin@yumc.pw>
merge/1/MERGE
502647092 2016-08-28 21:05:16 +08:00
parent 001d525c5a
commit 5d994fbb27
1 changed files with 12 additions and 0 deletions

View File

@ -13,6 +13,18 @@ import org.bukkit.entity.Player;
public class PlayerConfig extends FileConfig {
private static String CONFIG_FOLDER = "userdata";
/**
* ( )
*
* @param plugin
*
* @param player
*
*/
public PlayerConfig(final File dir, final String playername) {
super(new File(dir, CONFIG_FOLDER + File.separatorChar + playername + ".yml"));
}
/**
* ( CONFIG_FOLDER )
*