mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-27 02:21:30 +01:00
parent
b0a4d67782
commit
67ef64ec0d
@ -124,7 +124,7 @@ public class InspectCommand extends SubCommand {
|
||||
}
|
||||
|
||||
private void sendInspectMsg(ISender sender, String playerName, UUID uuid) {
|
||||
sender.sendMessage(Locale.get(Msg.CMD_HEADER_INSPECT) + playerName);
|
||||
sender.sendMessage(Locale.get(Msg.CMD_HEADER_INSPECT) + " " + playerName);
|
||||
// Link
|
||||
String url = HtmlUtils.getInspectUrlWithProtocol(playerName);
|
||||
String message = Locale.get(Msg.CMD_INFO_LINK).toString();
|
||||
|
@ -90,9 +90,9 @@ public class QuickInspectCommand extends SubCommand {
|
||||
public void run() {
|
||||
timesrun++;
|
||||
if (inspectCache.isCached(uuid)) {
|
||||
sender.sendMessage(Locale.get(Msg.CMD_HEADER_INSPECT) + playerName);
|
||||
sender.sendMessage(Locale.get(Msg.CMD_HEADER_INSPECT) + " " + playerName);
|
||||
sender.sendMessage(TextUI.getInspectMessages(uuid));
|
||||
sender.sendMessage(Locale.get(Msg.CMD_CONSTANT_FOOTER) + "");
|
||||
sender.sendMessage(Locale.get(Msg.CMD_CONSTANT_FOOTER).toString());
|
||||
this.cancel();
|
||||
}
|
||||
if (timesrun > 10) {
|
||||
|
@ -152,7 +152,7 @@ public class MathUtils {
|
||||
|
||||
/**
|
||||
* Gets the biggest Integer in a Collection with Integer as Entry
|
||||
* If the Collection is empty, it will return 0.
|
||||
* If the Collection is empty, it will return 1.
|
||||
*
|
||||
* @param values The Collection with Integer as the Entry
|
||||
* @return The biggest Integer
|
||||
@ -166,7 +166,7 @@ public class MathUtils {
|
||||
|
||||
/**
|
||||
* Gets the biggest Long in a Collection with Long as Entry
|
||||
* If the Collection is empty, it will return 0.
|
||||
* If the Collection is empty, it will return 1.
|
||||
*
|
||||
* @param values The Collection with Long as the Entry
|
||||
* @return The biggest Integer
|
||||
|
Loading…
Reference in New Issue
Block a user