diff options
author | Keuin <[email protected]> | 2020-04-24 13:10:00 +0800 |
---|---|---|
committer | keuin <[email protected]> | 2020-04-24 13:10:00 +0800 |
commit | 59674ed29c6b2c7e8ac98fc4f0f4fd4fd6d437c9 (patch) | |
tree | 47730fe93306b41b68f29b86ef5d0860c0d53d42 /src/main/java/com/keuin/kbackupfabric/operation/Confirmable.java | |
parent | 5749fc65909f0ee934d0410406265387157575a1 (diff) |
Implemented uniformed console output (log4j) in PrintUtil.
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/operation/Confirmable.java')
-rw-r--r-- | src/main/java/com/keuin/kbackupfabric/operation/Confirmable.java | 20 |
1 files changed, 0 insertions, 20 deletions
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<ServerCommandSource> context, String backupName) { - return new RestoreOperation(context, backupName); - } - - public static Confirmable createDeleteOperation(CommandContext<ServerCommandSource> context, String backupName) { - return new DeleteOperation(context, backupName); - } - - public abstract boolean confirm(); - - @Override - public abstract String toString(); -} |