Skip to content

Commit

Permalink
Improve wording of info messages for commands
Browse files Browse the repository at this point in the history
  • Loading branch information
magicmq committed Sep 6, 2023
1 parent 8d3f803 commit f664968
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ else if (result == RunResult.FAIL_ERROR)
sender.sendMessage(ChatColor.RED + "There was an error when loading script " + args[0] + ". See console for details.");
}
} else {
sender.sendMessage(ChatColor.RED + "There is already a loaded script with the name " + args[0]);
sender.sendMessage(ChatColor.RED + "There is already a loaded and running script with the name " + args[0]);
}
return true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public boolean onCommand(CommandSender sender, String[] args) {
sender.sendMessage(ChatColor.RED + "There was an error when reloading script " + args[0] + ". See console for details.");
}
} else {
sender.sendMessage(ChatColor.RED + "Loaded script " + args[0] + " not found");
sender.sendMessage(ChatColor.RED + "No running script found with the name " + args[0]);
}
return true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public boolean onCommand(CommandSender sender, String[] args) {
else
sender.sendMessage(ChatColor.RED + "There was an error when unloading script " + args[0] + ". See console for details.");
} else {
sender.sendMessage(ChatColor.RED + "No loaded script found with the name " + args[0]);
sender.sendMessage(ChatColor.RED + "No running script found with the name " + args[0]);
}
return true;
}
Expand Down

0 comments on commit f664968

Please sign in to comment.