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