Update Bungee support to new patch. This is breaking.
By: md_5 <md_5@live.com.au>
This commit is contained in:
@@ -1,25 +1,35 @@
|
||||
From 023a20f822b88403e7f6adae71f7386c70735176 Mon Sep 17 00:00:00 2001
|
||||
From ac46455a052a50c147304066f571414039f9a37a Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Tue, 14 May 2013 21:11:29 +1000
|
||||
Date: Sun, 2 Jun 2013 15:20:49 +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 de42f2e..6493825 100644
|
||||
index de42f2e..0c46c84 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
|
||||
@@ -646,4 +646,23 @@ 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();
|
||||
+ public class Spigot
|
||||
+ {
|
||||
+
|
||||
+ /**
|
||||
+ * 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()
|
||||
+ {
|
||||
+ throw new UnsupportedOperationException( "Not supported yet." );
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ Spigot spigot();
|
||||
+ // Spigot end
|
||||
}
|
||||
diff --git a/src/main/java/org/bukkit/event/player/PlayerLoginEvent.java b/src/main/java/org/bukkit/event/player/PlayerLoginEvent.java
|
||||
@@ -89,5 +99,5 @@ index 60c0875..dab3c5c 100644
|
||||
* Gets the current result of the login, as an enum
|
||||
*
|
||||
--
|
||||
1.8.2.1
|
||||
1.8.1.2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user