[ci skip] Cleanup events (#10202)

This commit is contained in:
Lulu13022002
2024-02-01 10:15:57 +01:00
parent d676979ea0
commit f7e469eb2e
187 changed files with 2415 additions and 2258 deletions

View File

@@ -14,7 +14,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
import java.net.InetAddress;
import java.util.UUID;
+
+import com.destroystokyo.paper.profile.PlayerProfile;
+import org.bukkit.Bukkit;
import org.bukkit.event.Event;
@@ -80,8 +79,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
public UUID getUniqueId() {
- return uniqueId;
+ return profile.getId(); // Paper
}
+ }
+
+ // Paper start
+ /**
+ * Gets the PlayerProfile of the player logging in
@@ -107,8 +106,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ @NotNull
+ public InetAddress getRawAddress() {
+ return rawAddress;
+ }
+
}
+ /**
+ * Gets the hostname that the player used to connect to the server, or
+ * blank if unknown