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