Deprecation cleanup.
This commit is contained in:
@@ -9,11 +9,11 @@ import org.bukkit.event.HandlerList;
|
||||
@SuppressWarnings("serial")
|
||||
public class PlayerItemHeldEvent extends PlayerEvent {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
private int previous;
|
||||
private int current;
|
||||
private final int previous;
|
||||
private final int current;
|
||||
|
||||
public PlayerItemHeldEvent(final Player player, final int previous, final int current) {
|
||||
super(Type.PLAYER_ITEM_HELD, player);
|
||||
super(player);
|
||||
this.previous = previous;
|
||||
this.current = current;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user