Version bump
parent
28641383f9
commit
d81aa65cc6
|
@ -2,13 +2,13 @@
|
|||
org.gradle.jvmargs=-Xmx1G
|
||||
|
||||
minecraft_version=1.16.1
|
||||
yarn_mappings=1.16.1+build.20
|
||||
loader_version=0.8.9+build.203
|
||||
yarn_mappings=1.16.1+build.21
|
||||
loader_version=0.9.0+build.204
|
||||
|
||||
#Fabric api
|
||||
fabric_version=0.14.1+build.372-1.16
|
||||
fabric_version=0.15.0+build.379-1.16.1
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.3.0
|
||||
mod_version = 1.3.1
|
||||
maven_group = net.szum123321
|
||||
archives_base_name = textile_backup
|
|
@ -29,8 +29,8 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
|||
@Mixin(MinecraftServer.class)
|
||||
public abstract class MinecraftServerMixin {
|
||||
@Inject(method = "shutdown", at = @At(value = "INVOKE_ASSIGN", target = "Lnet/minecraft/server/MinecraftServer;save(ZZZ)Z"))
|
||||
public void onShutdown(CallbackInfo ci){
|
||||
if(TextileBackup.config.shutdownBackup)
|
||||
public void onFinalWorldSave(CallbackInfo ci) {
|
||||
if (TextileBackup.config.shutdownBackup)
|
||||
TextileBackup.executorService.submit(BackupHelper.create((MinecraftServer) (Object) this, null, false, "shutdown"));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
"depends": {
|
||||
"fabricloader": ">=0.8.8",
|
||||
"fabric": "*",
|
||||
"minecraft": "1.16.1"
|
||||
"minecraft": "1.16.*"
|
||||
},
|
||||
|
||||
"custom": {
|
||||
|
|
Loading…
Reference in New Issue