Update Update Bukkit to 1.7.2

By: mbax <matt@phozop.net>
This commit is contained in:
Bukkit/Spigot
2013-11-13 17:53:49 -07:00
parent 1945a3b7ea
commit aa66c8025a
19 changed files with 327 additions and 205 deletions

View File

@@ -3,6 +3,7 @@ package org.bukkit.event.server;
import java.net.InetAddress;
import org.bukkit.event.HandlerList;
import org.bukkit.util.CachedServerIcon;
/**
* Called when a server list ping is coming in.
@@ -75,6 +76,20 @@ public class ServerListPingEvent extends ServerEvent {
this.maxPlayers = maxPlayers;
}
/**
* Sets the server-icon sent to the client.
*
* @param icon the icon to send to the client
* @throws IllegalArgumentException if the {@link CachedServerIcon} is
* not created by the caller of this event; null may be accepted for
* some implementations
* @throws UnsupportedOperationException if the caller of this event does
* not support setting the server icon
*/
public void setServerIcon(CachedServerIcon icon) throws IllegalArgumentException, UnsupportedOperationException {
throw new UnsupportedOperationException();
}
@Override
public HandlerList getHandlers() {
return handlers;