MassiveCore changes
This commit is contained in:
parent
5323829018
commit
3b6194a841
@ -878,8 +878,6 @@ public class MassiveCommand
|
|||||||
Mson ret = USAGE_TEMPLATE_CORE;
|
Mson ret = USAGE_TEMPLATE_CORE;
|
||||||
List<Mson> extra = new ArrayList<Mson>();
|
List<Mson> extra = new ArrayList<Mson>();
|
||||||
|
|
||||||
ret = ret.tooltip(Txt.parse("<i>Click to <c>%s<i>", this.getCommandLine()));
|
|
||||||
|
|
||||||
// Get commandchain
|
// Get commandchain
|
||||||
List<MassiveCommand> commands = new ArrayList<MassiveCommand>(commandChain);
|
List<MassiveCommand> commands = new ArrayList<MassiveCommand>(commandChain);
|
||||||
commands.add(this);
|
commands.add(this);
|
||||||
|
@ -630,7 +630,6 @@ public class Txt
|
|||||||
{
|
{
|
||||||
String number = String.valueOf(destinationPage);
|
String number = String.valueOf(destinationPage);
|
||||||
String oldNumber = String.valueOf(pageHumanBased);
|
String oldNumber = String.valueOf(pageHumanBased);
|
||||||
String tooltip = "<i>Click to <c>%s<i>.";
|
|
||||||
String commandLine;
|
String commandLine;
|
||||||
|
|
||||||
if (args != null && args.contains(oldNumber))
|
if (args != null && args.contains(oldNumber))
|
||||||
@ -645,7 +644,7 @@ public class Txt
|
|||||||
commandLine = command.getCommandLine(number);
|
commandLine = command.getCommandLine(number);
|
||||||
}
|
}
|
||||||
|
|
||||||
return mson.command(commandLine).tooltip(Txt.parse(tooltip, commandLine));
|
return mson.command(commandLine);
|
||||||
}
|
}
|
||||||
|
|
||||||
// -------------------------------------------- //
|
// -------------------------------------------- //
|
||||||
|
Loading…
Reference in New Issue
Block a user