diff options
author | Celtic Minstrel <celtic.minstrel.ca@some.place> | 2012-02-25 23:56:31 -0500 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-02-29 15:13:08 -0500 |
commit | 10e593649c224db2f0a4227bdf6eef44bfa16865 (patch) | |
tree | c8e04910be128eb9d98c475808c265a36adb4715 /src/main/java/net/minecraft/server/ContainerEnchantTableInventory.java | |
parent | d20091e64c3582f792e90959266e855fe0829475 (diff) | |
download | craftbukkit-10e593649c224db2f0a4227bdf6eef44bfa16865.tar craftbukkit-10e593649c224db2f0a4227bdf6eef44bfa16865.tar.gz craftbukkit-10e593649c224db2f0a4227bdf6eef44bfa16865.tar.lz craftbukkit-10e593649c224db2f0a4227bdf6eef44bfa16865.tar.xz craftbukkit-10e593649c224db2f0a4227bdf6eef44bfa16865.zip |
Imported from mc-dev:
- TileEntity
- Container
- ContainerFurnace
- ContainerDispenser
- ContainerChest
- ContainerEnchantTableSubcontainer
- ContainerEnchantTableInventory
- ContainerBrewingStand
Diffstat (limited to 'src/main/java/net/minecraft/server/ContainerEnchantTableInventory.java')
-rw-r--r-- | src/main/java/net/minecraft/server/ContainerEnchantTableInventory.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/ContainerEnchantTableInventory.java b/src/main/java/net/minecraft/server/ContainerEnchantTableInventory.java new file mode 100644 index 00000000..7b7bab93 --- /dev/null +++ b/src/main/java/net/minecraft/server/ContainerEnchantTableInventory.java @@ -0,0 +1,20 @@ +package net.minecraft.server; + +class ContainerEnchantTableInventory extends ContainerEnchantTableSubcontainer { + + final ContainerEnchantTable a; + + ContainerEnchantTableInventory(ContainerEnchantTable containerenchanttable, String s, int i) { + super(s, i); + this.a = containerenchanttable; + } + + public int getMaxStackSize() { + return 1; + } + + public void update() { + super.update(); + this.a.a((IInventory) this); + } +} |