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

@@ -13,14 +13,14 @@ import org.bukkit.inventory.ItemStack;
@SuppressWarnings("serial")
public class PrepareItemEnchantEvent extends Event implements Cancellable {
private static final HandlerList handlers = new HandlerList();
private Block table;
private ItemStack item;
private int[] levelsOffered;
private int bonus;
private final Block table;
private final ItemStack item;
private final int[] levelsOffered;
private final int bonus;
private boolean cancelled;
private Player enchanter;
private final Player enchanter;
public PrepareItemEnchantEvent(Player enchanter, Block table, ItemStack item, int[] levelsOffered, int bonus) {
public PrepareItemEnchantEvent(final Player enchanter, final Block table, final ItemStack item, final int[] levelsOffered, final int bonus) {
this.enchanter = enchanter;
this.table = table;
this.item = item;