Horses do not display saddle/armor when setContents() is called

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Environment:

      CentOS 7

      Calling the following to set an inventory for a horse puts a saddle and armor in its inventory but it is not visibly shown on the client:

      entity.getInventory().setContents(inventory.toItemStack());
      

      I have to explicitly set the saddle and the armor for it to update on the client:

      entity.getInventory().setSaddle(entity.getInventory().getSaddle());
      entity.getInventory().setArmor(entity.getInventory().getArmor());
      

            Assignee:
            Unassigned
            Reporter:
            Matt D.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: