Deprecation cleanup.
This commit is contained in:
@@ -8,10 +8,10 @@ import org.bukkit.event.HandlerList;
|
||||
public class PlayerRespawnEvent extends PlayerEvent {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
private Location respawnLocation;
|
||||
private boolean isBedSpawn;
|
||||
private final boolean isBedSpawn;
|
||||
|
||||
public PlayerRespawnEvent(Player respawnPlayer, Location respawnLocation, boolean isBedSpawn) {
|
||||
super(Type.PLAYER_RESPAWN, respawnPlayer);
|
||||
public PlayerRespawnEvent(final Player respawnPlayer, final Location respawnLocation, final boolean isBedSpawn) {
|
||||
super(respawnPlayer);
|
||||
this.respawnLocation = respawnLocation;
|
||||
this.isBedSpawn = isBedSpawn;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user