Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Old Claim Commands Deprecation (Phase 2) #1721

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -226,16 +226,16 @@ class MfFactionCommand(private val plugin: MedievalFactions) : CommandExecutor,
in devAliases -> factionDevCommand.onCommand(sender, command, label, args.drop(1).toTypedArray())
// Backwards compatibility:
in claimAutoAliases -> {
sender.sendMessage("${RED}Command deprecated, use \"/mf claim auto\" instead")
factionClaimAutoCommand.onCommand(sender, command, label, args.drop(1).toTypedArray())
sender.sendMessage("${RED}Command deprecated, use \"/mf claim auto\" instead!")
dmccoystephenson marked this conversation as resolved.
Show resolved Hide resolved
false
}
in claimFillAliases -> {
sender.sendMessage("${RED}Command deprecated, use \"/mf claim fill\" instead")
factionClaimFillCommand.onCommand(sender, command, label, args.drop(1).toTypedArray())
sender.sendMessage("${RED}Command deprecated, use \"/mf claim fill\" instead!")
false
}
in claimCheckAliases -> {
sender.sendMessage("${RED}Command deprecated, use \"/mf claim check\" instead")
factionClaimCheckCommand.onCommand(sender, command, label, args.drop(1).toTypedArray())
sender.sendMessage("${RED}Command deprecated, use \"/mf claim check\" instead!")
false
}
else -> {
sender.sendMessage("$AQUA${plugin.language["MedievalFactionsTitle", plugin.description.version]}")
Expand Down