--- a/net/minecraft/world/inventory/Containers.java
+++ b/net/minecraft/world/inventory/Containers.java
@@ -3,6 +3,10 @@
 import net.minecraft.core.IRegistry;
 import net.minecraft.world.entity.player.PlayerInventory;
 
+// CraftBukkit start
+import net.minecraft.world.entity.player.PlayerInventory;
+// CraftBukkit end
+
 public class Containers<T extends Container> {
 
     public static final Containers<ContainerChest> GENERIC_9x1 = a("generic_9x1", ContainerChest::a);
@@ -22,7 +26,7 @@
     public static final Containers<ContainerGrindstone> GRINDSTONE = a("grindstone", ContainerGrindstone::new);
     public static final Containers<ContainerHopper> HOPPER = a("hopper", ContainerHopper::new);
     public static final Containers<ContainerLectern> LECTERN = a("lectern", (i, playerinventory) -> {
-        return new ContainerLectern(i);
+        return new ContainerLectern(i, playerinventory); // CraftBukkit
     });
     public static final Containers<ContainerLoom> LOOM = a("loom", ContainerLoom::new);
     public static final Containers<ContainerMerchant> MERCHANT = a("merchant", ContainerMerchant::new);
@@ -34,7 +38,7 @@
     private final Containers.Supplier<T> constructor;
 
     private static <T extends Container> Containers<T> a(String s, Containers.Supplier<T> containers_supplier) {
-        return (Containers) IRegistry.a(IRegistry.MENU, s, (Object) (new Containers<>(containers_supplier)));
+        return (Containers) IRegistry.a(IRegistry.MENU, s, (new Containers<>(containers_supplier))); // CraftBukkit - decompile error
     }
 
     private Containers(Containers.Supplier<T> containers_supplier) {
