mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Update CraftBukkit to Minecraft 1.5.1
This commit is contained in:
1 parent
6aaa1e83df
commit
696543cf3f
21 files changed
+307
-231
No files matched your search
@@ -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