Deprecation cleanup.
This commit is contained in:
@@ -11,10 +11,10 @@ import org.bukkit.event.HandlerList;
|
||||
public class PlayerBedLeaveEvent extends PlayerEvent {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
||||
private Block bed;
|
||||
private final Block bed;
|
||||
|
||||
public PlayerBedLeaveEvent(Player who, Block bed) {
|
||||
super(Type.PLAYER_BED_LEAVE, who);
|
||||
public PlayerBedLeaveEvent(final Player who, final Block bed) {
|
||||
super(who);
|
||||
this.bed = bed;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user