Deprecation cleanup.
This commit is contained in:
@@ -13,10 +13,10 @@ public class PlayerBedEnterEvent extends PlayerEvent implements Cancellable {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
||||
private boolean cancel = false;
|
||||
private Block bed;
|
||||
private final Block bed;
|
||||
|
||||
public PlayerBedEnterEvent(Player who, Block bed) {
|
||||
super(Type.PLAYER_BED_ENTER, who);
|
||||
public PlayerBedEnterEvent(final Player who, final Block bed) {
|
||||
super(who);
|
||||
this.bed = bed;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user