Compile against Spigot's Bukkit maven repo

This commit is contained in:
vemacs 2015-06-17 09:02:28 -04:00
parent 6bd34f44ef
commit e4f6bb363d
6 changed files with 3 additions and 23 deletions

View File

@ -31,11 +31,6 @@
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.8.7-R0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>BOSEconomy</groupId>
<artifactId>BOSEconomy</artifactId>

View File

@ -1291,11 +1291,6 @@ public class OfflinePlayer implements Player {
return base.getPlayer();
}
@Override
public Spigot spigot() {
return base.getPlayer().spigot();
}
@Override
public long getFirstPlayed() {
return base.getFirstPlayed();

View File

@ -627,11 +627,6 @@ public class FakeWorld implements World {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public Spigot spigot() {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public List<Entity> getNearbyEntities(Location loc, double x, double y, double z) {
throw new UnsupportedOperationException("Not supported yet.");

View File

@ -40,7 +40,7 @@ public class SpawnerUtil {
ess.getLogger().info("Using BlockStateMeta for spawners");
} else {
ess.getLogger().warning("Using legacy item data for spawners");
ess.getLogger().warning(ChatColor.RED + "UPGRADE TO SPIGOT 1.8.3 OR HIGHER FOR WORKING SPAWNERS");
ess.getLogger().warning(ChatColor.RED + "UPGRADE TO 1.8.3 OR HIGHER FOR WORKING SPAWNERS");
}
}

View File

@ -914,11 +914,6 @@ public class FakeServer implements Server {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public Spigot spigot() {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public BanList getBanList(BanList.Type arg0) {
throw new UnsupportedOperationException("Not supported yet.");

View File

@ -45,8 +45,8 @@
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.8.7-R0.1-SNAPSHOT</version>
</dependency>
<dependency>