small corrections
This commit is contained in:
parent
5aebbdbf75
commit
b30e35a308
@ -33,8 +33,8 @@ dependencies {
|
||||
include "io.github.cottonmc.cotton:cotton-logging:1.0.0-rc.4"
|
||||
include "io.github.cottonmc.cotton:cotton-config:1.0.0-rc.7"
|
||||
|
||||
include "org.apache.commons:commons-compress:1.8.1"
|
||||
include "org.apache.commons:commons-io:2.6"
|
||||
include "org.apache.commons:commons-compress:1.9"
|
||||
include "org.apache.commons:commons-io:1.3.2"
|
||||
|
||||
// PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs.
|
||||
// You may need to force-disable transitiveness on them.
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
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;
|
||||
@ -51,7 +50,7 @@ public class BackupHelper {
|
||||
TextileBackup.logger.error(s);
|
||||
}
|
||||
|
||||
public static void create(MinecraftServer server, ServerCommandSource ctx, boolean save, @Nullable String comment) {
|
||||
public static void create(MinecraftServer server, ServerCommandSource ctx, boolean save, String comment) {
|
||||
LocalDateTime now = LocalDateTime.now();
|
||||
|
||||
StringBuilder builder = new StringBuilder();
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
package net.szum123321.textile_backup.core;
|
||||
|
||||
import jdk.internal.jline.internal.Nullable;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.server.command.ServerCommandSource;
|
||||
import net.minecraft.world.dimension.DimensionType;
|
||||
@ -30,9 +29,9 @@ import java.time.LocalDateTime;
|
||||
public class MakeBackupThread extends Thread {
|
||||
MinecraftServer server;
|
||||
ServerCommandSource ctx;
|
||||
@Nullable String comment;
|
||||
String comment;
|
||||
|
||||
public MakeBackupThread(MinecraftServer server, ServerCommandSource ctx, @Nullable String comment){
|
||||
public MakeBackupThread(MinecraftServer server, ServerCommandSource ctx, String comment){
|
||||
this.server = server;
|
||||
this.ctx = ctx;
|
||||
this.comment = comment;
|
||||
|
Loading…
Reference in New Issue
Block a user