summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/ContainerEnchantTableInventory.java
blob: 191de73a92c85a45791a99f67a4ed8db2c218e59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package net.minecraft.server;

public class ContainerEnchantTableInventory extends ContainerEnchantTableSubcontainer { // CraftBukkit -> public

    public final ContainerEnchantTable enchantTable; // CraftBukkit -> public

    ContainerEnchantTableInventory(ContainerEnchantTable containerenchanttable, String s, int i) {
        super(s, i);
        this.enchantTable = containerenchanttable;
        super.setMaxStackSize(1); // CraftBukkit
    }

    public int getMaxStackSize() {
        return super.getMaxStackSize(); // CraftBukkit
    }

    public void update() {
        super.update();
        this.enchantTable.a((IInventory) this);
    }
}