Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-3473

Custom Anvil Inventory Returns CraftInventoryCustom not CraftInventoryAnvil

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Minor Minor
    • None
    • None
    • All spigot based servers 1.12--R0.1

      In attempting to manipulate the text field in an anvil menu, I would create an inventory with Bukkit.createInventory(player, InventoryType.Anvil) which then in all return cases returns CraftInventoryCustom which can be cast to neither CraftInventoryAnvil nor AnvilInventory.

            Unassigned Unassigned
            Lecrayen Nathan Lathrop
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: