Deprecation cleanup.

This commit is contained in:
Erik Broes
2012-01-30 21:32:48 +01:00
committed by EvilSeph
parent 52822729b0
commit 7a06777e19
165 changed files with 409 additions and 4280 deletions

View File

@@ -9,17 +9,15 @@ import org.bukkit.event.HandlerList;
@SuppressWarnings("serial")
public class PlayerLoginEvent extends PlayerEvent {
private static final HandlerList handlers = new HandlerList();
private Result result;
private String message;
private Result result = Result.ALLOWED;
private String message = "";
public PlayerLoginEvent(final Player player) {
super(Type.PLAYER_LOGIN, player);
this.result = Result.ALLOWED;
this.message = "";
super(player);
}
public PlayerLoginEvent(final Type type, final Player player, final Result result, final String message) {
super(type, player);
public PlayerLoginEvent(final Player player, final Result result, final String message) {
this(player);
this.result = result;
this.message = message;
}