Paper/src/main/java/net/minecraft/server/ContainerEnchantTableInventory.java

22 Zeilen
655 B
Java

package net.minecraft.server;
public class ContainerEnchantTableInventory extends ContainerEnchantTableSubcontainer { // CraftBukkit -> public
2012-02-29 22:31:04 +01:00
public final ContainerEnchantTable enchantTable; // CraftBukkit -> public
ContainerEnchantTableInventory(ContainerEnchantTable containerenchanttable, String s, int i) {
super(s, i);
2012-02-29 22:31:04 +01:00
this.enchantTable = containerenchanttable;
super.setMaxStackSize(1); // CraftBukkit
}
public int getMaxStackSize() {
return super.getMaxStackSize(); // CraftBukkit
}
public void update() {
super.update();
2012-02-29 22:31:04 +01:00
this.enchantTable.a((IInventory) this);
}
}