From 7f1baca872ae82d9c7b79f0063e836b69c197a9f Mon Sep 17 00:00:00 2001 From: N0tMyFaultOG Date: Tue, 22 Dec 2020 17:55:37 +0100 Subject: [PATCH] Add database type to debugpaste --- Core/src/main/java/com/plotsquared/core/command/DebugPaste.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/src/main/java/com/plotsquared/core/command/DebugPaste.java b/Core/src/main/java/com/plotsquared/core/command/DebugPaste.java index 3f53afdc6..0c7b374e1 100644 --- a/Core/src/main/java/com/plotsquared/core/command/DebugPaste.java +++ b/Core/src/main/java/com/plotsquared/core/command/DebugPaste.java @@ -31,6 +31,7 @@ import com.google.inject.Inject; import com.intellectualsites.paster.IncendoPaster; import com.plotsquared.core.PlotSquared; import com.plotsquared.core.configuration.Settings; +import com.plotsquared.core.configuration.Storage; import com.plotsquared.core.configuration.caption.TranslatableCaption; import com.plotsquared.core.inject.annotations.ConfigFile; import com.plotsquared.core.inject.annotations.WorldFile; @@ -75,6 +76,7 @@ public class DebugPaste extends SubCommand { b.append("# PlotSquared Information\n"); b.append("PlotSquared Version: ").append(PlotSquared.get().getVersion()) .append("\n"); + b.append("Database Type: ").append(Storage.MySQL.USE ? "MySQL" : "SQLite").append("\n"); b.append("Resource ID: ").append(PremiumVerification.getResourceID()).append("\n"); b.append("Download ID: ").append(PremiumVerification.getDownloadID()).append("\n"); b.append("This PlotSquared version is licensed to the spigot user ")