99 lines
3 KiB
Diff
99 lines
3 KiB
Diff
From 303ad6c8effffcf49b5c3e47f6e67de52288598e Mon Sep 17 00:00:00 2001
|
|
From: md_5 <git@md-5.net>
|
|
Date: Thu, 11 Sep 2014 01:06:54 -0700
|
|
Subject: [PATCH] Spigot Update - 20140909a
|
|
|
|
|
|
diff --git a/pom.xml b/pom.xml
|
|
index 0c9f243..ec56492 100644
|
|
--- a/pom.xml
|
|
+++ b/pom.xml
|
|
@@ -17,6 +17,13 @@
|
|
<relativePath>../pom.xml</relativePath>
|
|
</parent>
|
|
|
|
+ <repositories>
|
|
+ <repository>
|
|
+ <id>sonatype-snapshots</id>
|
|
+ <url>https://oss.sonatype.org/content/repositories/public</url>
|
|
+ </repository>
|
|
+ </repositories>
|
|
+
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
@@ -74,6 +81,13 @@
|
|
</build>
|
|
<dependencies>
|
|
<dependency>
|
|
+ <groupId>net.md-5</groupId>
|
|
+ <artifactId>bungeecord-chat</artifactId>
|
|
+ <version>1.8-SNAPSHOT</version>
|
|
+ <type>jar</type>
|
|
+ <scope>compile</scope>
|
|
+ </dependency>
|
|
+ <dependency>
|
|
<groupId>org.yaml</groupId>
|
|
<artifactId>snakeyaml</artifactId>
|
|
<version>1.12</version>
|
|
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
|
|
index f861214..c560493 100644
|
|
--- a/src/main/java/org/bukkit/Server.java
|
|
+++ b/src/main/java/org/bukkit/Server.java
|
|
@@ -12,6 +12,7 @@ import java.util.Set;
|
|
import java.util.UUID;
|
|
import java.util.logging.Logger;
|
|
|
|
+import net.md_5.bungee.api.chat.BaseComponent;
|
|
import org.bukkit.Warning.WarningState;
|
|
import org.bukkit.command.CommandException;
|
|
import org.bukkit.command.CommandSender;
|
|
@@ -915,6 +916,16 @@ public interface Server extends PluginMessageRecipient {
|
|
{
|
|
throw new UnsupportedOperationException( "Not supported yet." );
|
|
}
|
|
+
|
|
+ public void broadcast(BaseComponent component)
|
|
+ {
|
|
+ throw new UnsupportedOperationException( "Not supported yet." );
|
|
+ }
|
|
+
|
|
+ public void broadcast(BaseComponent... components)
|
|
+ {
|
|
+ throw new UnsupportedOperationException( "Not supported yet." );
|
|
+ }
|
|
}
|
|
|
|
Spigot spigot();
|
|
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
|
index b2ad5b7..2940b21 100644
|
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
|
@@ -2,6 +2,7 @@ package org.bukkit.entity;
|
|
|
|
import java.net.InetSocketAddress;
|
|
|
|
+import net.md_5.bungee.api.chat.BaseComponent;
|
|
import org.bukkit.Achievement;
|
|
import org.bukkit.ChatColor;
|
|
import org.bukkit.Effect;
|
|
@@ -1102,6 +1103,16 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
|
{
|
|
throw new UnsupportedOperationException( "Not supported yet." );
|
|
}
|
|
+
|
|
+ public void sendMessage(BaseComponent component)
|
|
+ {
|
|
+ throw new UnsupportedOperationException( "Not supported yet." );
|
|
+ }
|
|
+
|
|
+ public void sendMessage(BaseComponent... components)
|
|
+ {
|
|
+ throw new UnsupportedOperationException( "Not supported yet." );
|
|
+ }
|
|
}
|
|
|
|
Spigot spigot();
|
|
--
|
|
1.9.4.msysgit.0
|
|
|