mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 04:33:56 -07:00
Update CraftBukkit to Minecraft 1.5.1
This commit is contained in:
@@ -148,7 +148,7 @@ public class ContainerAnvil extends Container {
|
||||
int k2 = l1 - k1;
|
||||
boolean flag1 = enchantment.canEnchant(itemstack);
|
||||
|
||||
if (this.n.abilities.canInstantlyBuild) {
|
||||
if (this.n.abilities.canInstantlyBuild || itemstack.id == ItemEnchantedBook.ENCHANTED_BOOK.id) {
|
||||
flag1 = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user