mirror of
https://github.com/Oth3r/Sit.git
synced 2025-09-19 16:03:22 +02:00
method to save all files
This commit is contained in:
parent
80617921c0
commit
7b1766a1e7
1 changed files with 8 additions and 0 deletions
|
@ -69,6 +69,14 @@ public class FileData {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* saves all config files
|
||||||
|
*/
|
||||||
|
public static void saveFiles() {
|
||||||
|
getSittingConfig().save();
|
||||||
|
getServerConfig().save();
|
||||||
|
}
|
||||||
|
|
||||||
public static class Defaults {
|
public static class Defaults {
|
||||||
public static final ArrayList<SittingBlock> SITTING_BLOCKS = new ArrayList<>(Arrays.asList(
|
public static final ArrayList<SittingBlock> SITTING_BLOCKS = new ArrayList<>(Arrays.asList(
|
||||||
new SittingBlock(new ArrayList<>(),new ArrayList<>(Arrays.asList("#minecraft:campfires")), new ArrayList<>(Arrays.asList("lit=false")),.437),
|
new SittingBlock(new ArrayList<>(),new ArrayList<>(Arrays.asList("#minecraft:campfires")), new ArrayList<>(Arrays.asList("lit=false")),.437),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue