aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/commands
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-05-08 20:24:13 +0900
committersyeyoung <cyong06@naver.com>2021-05-08 20:24:13 +0900
commit293bb4f9cd34a46c3b33997491b4b7927d0d9e70 (patch)
tree348fd50ffb959595f974ee1ac99d0294945403d7 /src/main/java/kr/syeyoung/dungeonsguide/commands
parent5d1d86dd5220b61707a57d12d0fa1dbb356d30e7 (diff)
downloadSkyblock-Dungeons-Guide-293bb4f9cd34a46c3b33997491b4b7927d0d9e70.tar.gz
Skyblock-Dungeons-Guide-293bb4f9cd34a46c3b33997491b4b7927d0d9e70.tar.bz2
Skyblock-Dungeons-Guide-293bb4f9cd34a46c3b33997491b4b7927d0d9e70.zip
cosmetics.
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/commands')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/commands/CommandDungeonsGuide.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/commands/CommandDungeonsGuide.java b/src/main/java/kr/syeyoung/dungeonsguide/commands/CommandDungeonsGuide.java
index fdb4da18..f1455ba6 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/commands/CommandDungeonsGuide.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/commands/CommandDungeonsGuide.java
@@ -39,6 +39,7 @@ import kr.syeyoung.dungeonsguide.utils.AhUtils;
import kr.syeyoung.dungeonsguide.utils.MapUtils;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.EntityPlayerSP;
+import net.minecraft.client.network.NetworkPlayerInfo;
import net.minecraft.command.CommandBase;
import net.minecraft.command.ICommandSender;
import net.minecraft.util.ChatComponentText;
@@ -367,6 +368,10 @@ public class CommandDungeonsGuide extends CommandBase {
}
}).build());
+ } else if (args[0].equals("echo")) {
+ for (NetworkPlayerInfo networkPlayerInfo : Minecraft.getMinecraft().getNetHandler().getPlayerInfoMap()) {
+ System.out.println(networkPlayerInfo);
+ }
} else {
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg §7-§fOpens configuration gui"));
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg gui §7-§fOpens configuration gui"));