mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-09 17:26:07 +00:00
Add author option to config pack
This commit is contained in:
@@ -107,7 +107,7 @@ public class ConfigPack {
|
||||
|
||||
load(new FolderLoader(folder.toPath()));
|
||||
|
||||
LangUtil.log("config-pack.loaded", Level.INFO, template.getID(), String.valueOf((System.nanoTime() - l) / 1000000D));
|
||||
LangUtil.log("config-pack.loaded", Level.INFO, template.getID(), String.valueOf((System.nanoTime() - l) / 1000000D), template.getAuthor());
|
||||
}
|
||||
|
||||
public ConfigPack(ZipFile file) throws ConfigException {
|
||||
|
||||
@@ -85,10 +85,18 @@ public class ConfigPackTemplate implements ConfigTemplate {
|
||||
@Default
|
||||
private boolean vanillaStructures = false;
|
||||
|
||||
@Value("author")
|
||||
@Default
|
||||
private String author = "Anon Y. Mous";
|
||||
|
||||
public String getID() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public String getAuthor() {
|
||||
return author;
|
||||
}
|
||||
|
||||
public boolean vanillaMobs() {
|
||||
return vanillaMobs;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user