new patch
This commit is contained in:
parent
e84bde7bc5
commit
255ce54c47
26
FastLogin-Patches/0006-disable-unwanted-logs.patch
Normal file
26
FastLogin-Patches/0006-disable-unwanted-logs.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From 915b8c3fed953a9923c4c4703b4bfe8769a4bd04 Mon Sep 17 00:00:00 2001
|
||||
From: mohammed jasem alaajel <xrambad953@gmail.com>
|
||||
Date: Wed, 28 Jul 2021 01:17:06 +0400
|
||||
Subject: [PATCH] disable unwanted logs
|
||||
|
||||
|
||||
diff --git a/bungee/src/main/java/com/github/games647/fastlogin/bungee/listener/ConnectListener.java b/bungee/src/main/java/com/github/games647/fastlogin/bungee/listener/ConnectListener.java
|
||||
index 3f33ae3..631e0a6 100644
|
||||
--- a/bungee/src/main/java/com/github/games647/fastlogin/bungee/listener/ConnectListener.java
|
||||
+++ b/bungee/src/main/java/com/github/games647/fastlogin/bungee/listener/ConnectListener.java
|
||||
@@ -173,9 +173,9 @@ public class ConnectListener implements Listener {
|
||||
|
||||
//debug, we can remove after
|
||||
UUID checkUUID = UUID.nameUUIDFromBytes(("OfflinePlayer:" + connection.getName()).getBytes(StandardCharsets.UTF_8));
|
||||
- System.out.println("Profile uuid: " + session.getProfile().getId());
|
||||
- System.out.println("Session uuid: " + session.getUuid());
|
||||
- System.out.println("Offline uuid: " + checkUUID);
|
||||
+ //System.out.println("Profile uuid: " + session.getProfile().getId());
|
||||
+ //System.out.println("Session uuid: " + session.getUuid());
|
||||
+ //System.out.println("Offline uuid: " + checkUUID);
|
||||
if (username.charAt(0)== '*') {
|
||||
|
||||
if (checkUUID.equals(session.getProfile().getId())) {
|
||||
--
|
||||
2.25.1
|
||||
|
Reference in New Issue
Block a user