Small fabric.mod.json and other update
This commit is contained in:
parent
db8d24e541
commit
83503307c8
@ -4,11 +4,11 @@ org.gradle.jvmargs=-Xmx1G
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/use
|
||||
minecraft_version=1.15.2
|
||||
yarn_mappings=1.15.2+build.1
|
||||
loader_version=0.7.5+build.178
|
||||
yarn_mappings=1.15.2+build.7
|
||||
loader_version=0.7.6+build.179
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.0.0
|
||||
mod_version = 1.0.0-1.15.2
|
||||
maven_group = net.szum123321
|
||||
archives_base_name = textile_backup
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
package net.szum123321.textile_backup.core;
|
||||
|
||||
import jdk.internal.jline.internal.Nullable;
|
||||
import net.fabricmc.loader.api.FabricLoader;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.server.command.ServerCommandSource;
|
||||
@ -23,7 +22,7 @@ public class BackupHelper {
|
||||
.toFile();
|
||||
}
|
||||
|
||||
public static void log(String s, @Nullable ServerCommandSource ctx){
|
||||
public static void log(String s, ServerCommandSource ctx){
|
||||
if(ctx != null)
|
||||
ctx.sendFeedback(new TranslatableText(s), true);
|
||||
|
||||
@ -31,7 +30,7 @@ public class BackupHelper {
|
||||
TextileBackup.logger.info(s);
|
||||
}
|
||||
|
||||
public static void error(String s, @Nullable ServerCommandSource ctx){
|
||||
public static void error(String s, ServerCommandSource ctx){
|
||||
if(ctx != null)
|
||||
ctx.sendFeedback(new TranslatableText(s), true);
|
||||
|
||||
|
@ -4,13 +4,13 @@
|
||||
"version": "${version}",
|
||||
|
||||
"name": "Textile Backup",
|
||||
"description": "This is an example description! Tell everyone what your mod is about!",
|
||||
"description": "Small, configurable, fully server-side backup mod for Fabric",
|
||||
"authors": [
|
||||
"Szum123321"
|
||||
],
|
||||
"contact": {
|
||||
"homepage": "https://fabricmc.net/",
|
||||
"sources": "https://github.com/FabricMC/fabric-example-mod"
|
||||
"homepage": "https://www.curseforge.com/minecraft/mc-mods/textile-backup",
|
||||
"sources": "https://github.com/Szum123321/textile_backup"
|
||||
},
|
||||
|
||||
"license": "GPLv3",
|
||||
@ -29,6 +29,6 @@
|
||||
"depends": {
|
||||
"fabricloader": ">=0.7.2",
|
||||
"fabric": "*",
|
||||
"minecraft": "1.15.x"
|
||||
"minecraft": "1.15.2"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user