List<Integer> lastTickLevels;
ItemStack lastTickStack;
ItemStack currentStack;
public GuiEnchanting(TileEnchanter enchanter, InventoryPlayer inv) {
super(new ContainerEnchanter(enchanter, inv));
this.enchanter = enchanter;
lastTickStack = enchanter.getStackInSlot(0);
currentStack = enchanter.getStackInSlot(0);
lastTickEnchants = new ArrayList(enchanter.enchantments);
lastTickLevels = new ArrayList(enchanter.levels);