mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2024-10-02 00:07:29 +02:00
Update src/main/java/fr/moribus/imageonmap/commands/maptool/ExploreCommand.java
Co-authored-by: Amaury Carrade <amaury@carrade.eu>
This commit is contained in:
parent
413353deea
commit
e5bd1fd805
@ -77,7 +77,7 @@ public class ExploreCommand extends IoMCommand {
|
|||||||
//TODO passer en static
|
//TODO passer en static
|
||||||
ImageOnMap.getPlugin().getCommandWorker().offlineNameFetch(playerName, uuid -> {
|
ImageOnMap.getPlugin().getCommandWorker().offlineNameFetch(playerName, uuid -> {
|
||||||
if (uuid == null) {
|
if (uuid == null) {
|
||||||
info(sender, I.t("The player {0} does not exist.", playerName));
|
warning(sender, I.t("The player {0} does not exist.", playerName));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
OfflinePlayer offlinePlayer = Bukkit.getOfflinePlayer(uuid);
|
OfflinePlayer offlinePlayer = Bukkit.getOfflinePlayer(uuid);
|
||||||
|
Loading…
Reference in New Issue
Block a user