Merge pull request #1743 from Pryaxis/h/fix-addperms
Provide warning message on invalid group command
This commit is contained in:
commit
33c5e01654
2 changed files with 4 additions and 0 deletions
|
|
@ -97,6 +97,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin
|
||||||
* Add PlayerZone data handler and bouncer (@AxeelAnder)
|
* Add PlayerZone data handler and bouncer (@AxeelAnder)
|
||||||
* Update sqlite binaries to 32bit 3.27.2 for Windows (@hakusaro)
|
* Update sqlite binaries to 32bit 3.27.2 for Windows (@hakusaro)
|
||||||
* Fix banned armour checks not clearing properly (thanks @tysonstrange)
|
* Fix banned armour checks not clearing properly (thanks @tysonstrange)
|
||||||
|
* Added warning message on invalid group comand (@hakusaro, thanks to IcyPhoenix, nuLLzy & Cy on Discord)
|
||||||
|
|
||||||
## TShock 4.3.25
|
## TShock 4.3.25
|
||||||
* Fixed a critical exploit in the Terraria protocol that could cause massive unpreventable world corruption as well as a number of other problems. Thanks to @bartico6 for reporting. Fixed by the efforts of @QuiCM, @hakusaro, and tips in the right directioon from @bartico6.
|
* Fixed a critical exploit in the Terraria protocol that could cause massive unpreventable world corruption as well as a number of other problems. Thanks to @bartico6 for reporting. Fixed by the efforts of @QuiCM, @hakusaro, and tips in the right directioon from @bartico6.
|
||||||
|
|
|
||||||
|
|
@ -3240,6 +3240,9 @@ namespace TShockAPI
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
return;
|
return;
|
||||||
|
default:
|
||||||
|
args.Player.SendErrorMessage("Invalid subcommand! Type {0}group help for more information on valid commands.", Specifier);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion Group Management
|
#endregion Group Management
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue