|
@@ -40,7 +40,7 @@ void ChatCommand::addAutocompletePossibilities(
|
|
if (possibilities.getEintragAnzahl() == 0
|
|
if (possibilities.getEintragAnzahl() == 0
|
|
|| (possibilities.getEintragAnzahl() == 1 && appendToLast
|
|
|| (possibilities.getEintragAnzahl() == 1 && appendToLast
|
|
&& possibilities.z(0)->istGleich(
|
|
&& possibilities.z(0)->istGleich(
|
|
- args.get(args.getEintragAnzahl() - 1))))
|
|
|
|
|
|
+ *args.z(args.getEintragAnzahl() - 1))))
|
|
{
|
|
{
|
|
Framework::Text help = getHelp();
|
|
Framework::Text help = getHelp();
|
|
while (help.hat("\n"))
|
|
while (help.hat("\n"))
|
|
@@ -139,7 +139,7 @@ Framework::RCArray<Framework::Text> ChatCommandParameter::getAutocompleteValues(
|
|
|
|
|
|
PlayerNameParameter::PlayerNameParameter()
|
|
PlayerNameParameter::PlayerNameParameter()
|
|
: ChatCommandParameter(
|
|
: ChatCommandParameter(
|
|
- "player", "The name of the player (has to be online)", 0)
|
|
|
|
|
|
+ "player", "The name of the player (has to be online)", 0)
|
|
{}
|
|
{}
|
|
|
|
|
|
bool PlayerNameParameter::isLegalValue(Framework::Text value) const
|
|
bool PlayerNameParameter::isLegalValue(Framework::Text value) const
|