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

InventoryOpenEvent getHolder bug.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • None

      @EventHandler
      public void villagerFix(InventoryOpenEvent event)

      { System.out.println(""+event.getInventory().getType()); System.out.println(""+event.getInventory().getHolder()); }

      [19:59:25] [Server thread/INFO]: MERCHANT
      [19:59:25] [Server thread/INFO]: CraftPlayer

      {name=iBo3oF}

      Why do I get myself as a Holder if Holder is EntityVillager?

            Unassigned Unassigned
            iBo3oF Dionis
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: