Skip to content

Commit 84ff648

Browse files
Notify user about donation key in migrate-db command
Add message for donation key requirement in migrate-db command
1 parent 976ff38 commit 84ff648

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/net/coreprotect/command/CommandHandler.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ else if (corecommand.equals("network-debug")) {
120120
NetworkDebugCommand.runCommand(user, permission, argumentArray);
121121
}
122122
else if (corecommand.equals("migrate-db")) {
123+
Chat.sendMessage(user, Color.DARK_AQUA + "CoreProtect " + Color.WHITE + "- " + Phrase.build(Phrase.DONATION_KEY_REQUIRED));
124+
123125
Extensions.runDatabaseMigration(corecommand, user, argumentArray);
124126
}
125127
else {

0 commit comments

Comments
 (0)