geforkt von Mirrors/Paper
21 Zeilen
569 B
Java
21 Zeilen
569 B
Java
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;
|
|
}
|
|
|
|
public int getMaxStackSize() {
|
|
return 1;
|
|
}
|
|
|
|
public void update() {
|
|
super.update();
|
|
this.enchantTable.a((IInventory) this);
|
|
}
|
|
}
|