Yarn update + typo + version bump
parent
422d3fcd2f
commit
44fa50f287
|
@ -2,13 +2,13 @@
|
|||
org.gradle.jvmargs=-Xmx1G
|
||||
|
||||
minecraft_version=1.16.1
|
||||
yarn_mappings=1.16.1+build.18
|
||||
loader_version=0.8.8+build.202
|
||||
yarn_mappings=1.16.1+build.20
|
||||
loader_version=0.8.9+build.203
|
||||
|
||||
#Fabric api
|
||||
fabric_version=0.14.0+build.371-1.16
|
||||
fabric_version=0.14.1+build.372-1.16
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.2.3
|
||||
mod_version = 1.2.4
|
||||
maven_group = net.szum123321
|
||||
archives_base_name = textile_backup
|
|
@ -45,13 +45,14 @@ public class ConfigHandler {
|
|||
@Comment("\nShould every world has its won backup folder?\n")
|
||||
public boolean perWorldBackup = false;
|
||||
|
||||
@Comment("\nMaximum number of backups to keep. If set to 0 then no backup will be deleted based their its amount\n")
|
||||
@Comment("\nMaximum number of backups to keep. If set to 0 then no backup will be deleted based their amount\n")
|
||||
public int backupsToKeep = 10;
|
||||
|
||||
@Comment("\nMaximum age of backups to keep in seconds.\n If set to 0 then backups will not be deleted based their its age \n")
|
||||
@Comment("\nMaximum age of backups to keep in seconds.\n If set to 0 then backups will not be deleted based their age \n")
|
||||
public long maxAge = 0;
|
||||
|
||||
@Comment("\nMaximum size of backup folder in kilo bytes (1024).\n")
|
||||
@Comment("\nMaximum size of backup folder in kilo bytes (1024).\n" +
|
||||
"If set to 0 then backups will not be deleted\n")
|
||||
public int maxSize = 0;
|
||||
|
||||
@Comment("\nCompression level \n0 - 9\n Only affects zip compression.\n")
|
||||
|
|
|
@ -51,7 +51,7 @@ public class MakeBackupThread implements Runnable {
|
|||
|
||||
File world = ((MinecraftServerSessionAccessor)server)
|
||||
.getSession()
|
||||
.method_27424(RegistryKey.of(Registry.DIMENSION, DimensionType.OVERWORLD_REGISTRY_KEY.getValue()));
|
||||
.getWorldDirectory(RegistryKey.of(Registry.DIMENSION, DimensionType.OVERWORLD_REGISTRY_KEY.getValue()));
|
||||
|
||||
TextileBackup.LOGGER.trace("Minecraft world is: {}", world);
|
||||
|
||||
|
|
Loading…
Reference in New Issue