20w06a update

This commit is contained in:
szymon 2020-02-11 19:26:16 +01:00
parent d73042138e
commit 0b68c2efee
5 changed files with 17 additions and 14 deletions

View File

@ -4,7 +4,7 @@
[![Downloads](http://cf.way2muchnoise.eu/full_359893_downloads.svg)
![Available for](http://cf.way2muchnoise.eu/versions/359893.svg)](https://www.curseforge.com/minecraft/mc-mods/textile-backup)
Small, configurable, fully server-side backup mod for Fabric
Small, configurable, fully server-side backup mod for Fabric
Commands look like that: /backup 'operation'.
@ -20,4 +20,6 @@ Feel free to use this mod in your modpack or on server!
### Important
* Time format used by this mod is: dd.MM.yyyy_HH:mm:ss
* _This mod contains **Cotton Config** and its dependencies as jars in jar, which are property of **CottonMC**_
* _This mod contains **Cotton Config** and its dependencies as jars in jar, which are property of **CottonMC**_
If you have any suggestions or found a problem please report it on github.

View File

@ -1,17 +1,14 @@
# Done to increase the memory available to gradle.
org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://fabricmc.net/use
minecraft_version=1.15.2
yarn_mappings=1.15.2+build.7
loader_version=0.7.6+build.179
minecraft_version=20w06a
yarn_mappings=20w06a+build.15
loader_version=0.7.8+build.184
#Fabric api
fabric_version=0.4.32+build.296-1.16
# Mod Properties
mod_version = 1.0.0-1.15.2
mod_version = 1.0.2-20w06a
maven_group = net.szum123321
archives_base_name = textile_backup
# Dependencies
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
fabric_version=0.4.29+build.290-1.15
archives_base_name = textile_backup

View File

@ -43,10 +43,12 @@ public class BackupHelper {
StringBuilder builder = new StringBuilder();
builder.append("Backup started by: ");
if( ctx != null )
builder.append(ctx.getName());
else
builder.append("SERVER");
builder.append(" on: ");
builder.append(getDateTimeFormatter().format(now));

View File

@ -1,5 +1,7 @@
package net.szum123321.textile_backup.mixin;
import net.fabricmc.fabric.impl.tag.extension.FabricTagHooks;
import net.fabricmc.loader.api.FabricLoader;
import net.minecraft.server.MinecraftServer;
import net.minecraft.server.PlayerManager;
import net.szum123321.textile_backup.TextileBackup;

View File

@ -29,6 +29,6 @@
"depends": {
"fabricloader": ">=0.7.2",
"fabric": "*",
"minecraft": "1.15.2"
"minecraft": "1.16.*"
}
}