Version bump

2.x-1.16
szymon 2020-07-19 11:59:17 +02:00
parent 28641383f9
commit d81aa65cc6
3 changed files with 8 additions and 8 deletions

View File

@ -2,13 +2,13 @@
org.gradle.jvmargs=-Xmx1G org.gradle.jvmargs=-Xmx1G
minecraft_version=1.16.1 minecraft_version=1.16.1
yarn_mappings=1.16.1+build.20 yarn_mappings=1.16.1+build.21
loader_version=0.8.9+build.203 loader_version=0.9.0+build.204
#Fabric api #Fabric api
fabric_version=0.14.1+build.372-1.16 fabric_version=0.15.0+build.379-1.16.1
# Mod Properties # Mod Properties
mod_version = 1.3.0 mod_version = 1.3.1
maven_group = net.szum123321 maven_group = net.szum123321
archives_base_name = textile_backup archives_base_name = textile_backup

View File

@ -29,7 +29,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
@Mixin(MinecraftServer.class) @Mixin(MinecraftServer.class)
public abstract class MinecraftServerMixin { public abstract class MinecraftServerMixin {
@Inject(method = "shutdown", at = @At(value = "INVOKE_ASSIGN", target = "Lnet/minecraft/server/MinecraftServer;save(ZZZ)Z")) @Inject(method = "shutdown", at = @At(value = "INVOKE_ASSIGN", target = "Lnet/minecraft/server/MinecraftServer;save(ZZZ)Z"))
public void onShutdown(CallbackInfo ci){ public void onFinalWorldSave(CallbackInfo ci) {
if (TextileBackup.config.shutdownBackup) if (TextileBackup.config.shutdownBackup)
TextileBackup.executorService.submit(BackupHelper.create((MinecraftServer) (Object) this, null, false, "shutdown")); TextileBackup.executorService.submit(BackupHelper.create((MinecraftServer) (Object) this, null, false, "shutdown"));
} }

View File

@ -29,7 +29,7 @@
"depends": { "depends": {
"fabricloader": ">=0.8.8", "fabricloader": ">=0.8.8",
"fabric": "*", "fabric": "*",
"minecraft": "1.16.1" "minecraft": "1.16.*"
}, },
"custom": { "custom": {