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-03-14 15:00:54 +01:00
|
|
|
super.setMaxStackSize(1); // CraftBukkit
|
2012-02-26 05:56:31 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public int getMaxStackSize() {
|
2012-03-14 15:00:54 +01:00
|
|
|
return super.getMaxStackSize(); // CraftBukkit
|
2012-02-26 05:56:31 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|