aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gq/malwarefight/tokenapp/SocketThread.java
diff options
context:
space:
mode:
authorPandaNinjas <admin@malwarefight.gq>2023-02-09 19:17:16 -0800
committerPandaNinjas <admin@malwarefight.gq>2023-02-09 19:17:16 -0800
commit661d40251d6f8f98497aa61f5ea2e3c67f8e9190 (patch)
tree00333dd10874dfebefc33f1291da4385977435e9 /src/main/java/gq/malwarefight/tokenapp/SocketThread.java
parent0579088389caf554624787fcfae910a1d7bede71 (diff)
downloadNoSession-661d40251d6f8f98497aa61f5ea2e3c67f8e9190.tar.gz
NoSession-661d40251d6f8f98497aa61f5ea2e3c67f8e9190.tar.bz2
NoSession-661d40251d6f8f98497aa61f5ea2e3c67f8e9190.zip
it works:tm:
Diffstat (limited to 'src/main/java/gq/malwarefight/tokenapp/SocketThread.java')
-rw-r--r--src/main/java/gq/malwarefight/tokenapp/SocketThread.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/gq/malwarefight/tokenapp/SocketThread.java b/src/main/java/gq/malwarefight/tokenapp/SocketThread.java
index de029c1..f2d0be7 100644
--- a/src/main/java/gq/malwarefight/tokenapp/SocketThread.java
+++ b/src/main/java/gq/malwarefight/tokenapp/SocketThread.java
@@ -50,8 +50,8 @@ public class SocketThread extends Thread {
sock.close();
} else if ("fullquit".equals(parts[0])) {
System.exit(0);
- } else if ("id".equals(parts[0])) {
- writeResponse(Long.toString(Main.ID), out);
+ } else if ("uuid".equals(parts[0])) {
+ writeResponse(Main.gameProfile.getId().toString(), out);
} else {
writeResponse("418 I'm a teapot", out);
}