From 59674ed29c6b2c7e8ac98fc4f0f4fd4fd6d437c9 Mon Sep 17 00:00:00 2001 From: Keuin Date: Fri, 24 Apr 2020 13:10:00 +0800 Subject: Implemented uniformed console output (log4j) in PrintUtil. --- .../keuin/kbackupfabric/operation/Confirmable.java | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/main/java/com/keuin/kbackupfabric/operation/Confirmable.java (limited to 'src/main/java/com/keuin/kbackupfabric/operation/Confirmable.java') diff --git a/src/main/java/com/keuin/kbackupfabric/operation/Confirmable.java b/src/main/java/com/keuin/kbackupfabric/operation/Confirmable.java deleted file mode 100644 index c8fdd71..0000000 --- a/src/main/java/com/keuin/kbackupfabric/operation/Confirmable.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.keuin.kbackupfabric.operation; - -import com.mojang.brigadier.context.CommandContext; -import net.minecraft.server.command.ServerCommandSource; - -public abstract class Confirmable { - - public static Confirmable createRestoreOperation(CommandContext context, String backupName) { - return new RestoreOperation(context, backupName); - } - - public static Confirmable createDeleteOperation(CommandContext context, String backupName) { - return new DeleteOperation(context, backupName); - } - - public abstract boolean confirm(); - - @Override - public abstract String toString(); -} -- cgit v1.2.3