Update CraftBukkit to Minecraft 1.5
This commit is contained in:
@@ -40,8 +40,8 @@ public class ContainerEnchantTableInventory extends InventorySubcontainer { // C
|
||||
}
|
||||
// CraftBukkit end
|
||||
|
||||
ContainerEnchantTableInventory(ContainerEnchantTable containerenchanttable, String s, int i) {
|
||||
super(s, i);
|
||||
ContainerEnchantTableInventory(ContainerEnchantTable containerenchanttable, String s, boolean flag, int i) {
|
||||
super(s, flag, i);
|
||||
this.enchantTable = containerenchanttable;
|
||||
this.setMaxStackSize(1); // CraftBukkit
|
||||
}
|
||||
@@ -54,4 +54,8 @@ public class ContainerEnchantTableInventory extends InventorySubcontainer { // C
|
||||
super.update();
|
||||
this.enchantTable.a((IInventory) this);
|
||||
}
|
||||
|
||||
public boolean b(int i, ItemStack itemstack) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user