mirror of
https://github.com/PaperMC/Paper.git
synced 2024-10-29 23:09:33 +01:00
28 lines
946 B
Diff
28 lines
946 B
Diff
|
From aec07f66117cb86522e8f507bbd6e53780eb1e36 Mon Sep 17 00:00:00 2001
|
||
|
From: md_5 <md_5@live.com.au>
|
||
|
Date: Tue, 14 May 2013 21:11:29 +1000
|
||
|
Subject: [PATCH] BungeeCord Support
|
||
|
|
||
|
|
||
|
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
||
|
index dec2214..602ecef 100644
|
||
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
||
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
||
|
@@ -646,4 +646,13 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
||
|
* yet or has logged out
|
||
|
*/
|
||
|
public void setScoreboard(Scoreboard scoreboard) throws IllegalArgumentException, IllegalStateException;
|
||
|
+
|
||
|
+ // Spigot start
|
||
|
+ /**
|
||
|
+ * Gets the connection address of this player, regardless of whether it has been spoofed or not.
|
||
|
+ *
|
||
|
+ * @return the player's connection address
|
||
|
+ */
|
||
|
+ public InetSocketAddress getRawAddress();
|
||
|
+ // Spigot end
|
||
|
}
|
||
|
--
|
||
|
1.8.2.1
|
||
|
|