Merge pull request #652 from CocoTheOwner/studioInfo

Add another update message to make sure the command is ran
This commit is contained in:
Dan 2021-09-22 06:36:16 -04:00 committed by GitHub
commit be2b893a3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -663,6 +663,7 @@ public class CommandStudio implements DecreeExecutor {
@Param(description = "The dimension to update the workspace of", contextual = true, defaultValue = "overworld") @Param(description = "The dimension to update the workspace of", contextual = true, defaultValue = "overworld")
IrisDimension dimension IrisDimension dimension
) { ) {
sender().sendMessage(C.GOLD + "Updating Code Workspace for " + dimension.getName() + "...");
if (new IrisProject(dimension.getLoader().getDataFolder()).updateWorkspace()) { if (new IrisProject(dimension.getLoader().getDataFolder()).updateWorkspace()) {
sender().sendMessage(C.GREEN + "Updated Code Workspace for " + dimension.getName()); sender().sendMessage(C.GREEN + "Updated Code Workspace for " + dimension.getName());
} else { } else {