MassiveCore changes

This commit is contained in:
ulumulu1510 2015-09-23 17:33:58 +02:00 committed by Olof Larsson
parent 5323829018
commit 3b6194a841
2 changed files with 1 additions and 4 deletions

View File

@ -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);

View File

@ -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);
} }
// -------------------------------------------- // // -------------------------------------------- //