{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "497086",
   "self": "https://bugs.mojang.com/rest/api/2/issue/497086",
   "key": "BDS-16791",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": "3",
      "customfield_10500": {
         "self": "https://bugs.mojang.com/rest/api/2/customFieldOption/10300",
         "value": "Unconfirmed",
         "id": "10300",
         "disabled": false
      },
      "customfield_12800": null,
      "customfield_12602": [],
      "customfield_12601": null,
      "customfield_12604": null,
      "customfield_12603": null,
      "customfield_12606": null,
      "customfield_12605": null,
      "customfield_12608": null,
      "resolutiondate": "2022-03-22T13:37:27.000+0200",
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-16791/watchers",
         "watchCount": 0,
         "isWatching": false
      },
      "created": "2022-03-18T18:39:33.000+0200",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [],
      "customfield_11700": "{}",
      "versions": [
         "20641"
      ],
      "issuelinks": [
         {
            "id": "264058",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/264058",
            "type": "10102",
            "outwardIssue": "497258"
         }
      ],
      "assignee": null,
      "updated": "2022-03-22T13:37:27.000+0200",
      "status": "5",
      "description": "I've defined a custom weapon in my behavior pack. But when I take the weapon on my main\u00a0 hand and is killed by others, I drop two same weapon (exactly same, even the durability remaining is equal). Meanwhile, sometimes it drops another weapon which I don't have in my inventory.",
      "customfield_11100": 0.0,
      "customfield_11300": null,
      "customfield_11500": null,
      "customfield_12503": null,
      "customfield_12700": null,
      "customfield_12502": null,
      "customfield_12504": null,
      "attachment": [
         "475638",
         "475639"
      ],
      "summary": "Custom weapons duplicate when a player is killed",
      "creator": "JIRAUSER470613",
      "reporter": "JIRAUSER470613",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i278af:",
      "environment": "Server side: Windows Server 2019 Essential\r\nClient side: All platforms",
      "customfield_11801": null,
      "customfield_11800": null,
      "customfield_11602": null,
      "customfield_11802": null,
      "comment": {
         "comments": [
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/497086/comment/1149064",
               "id": "1149064",
               "author": "ocelotonesie",
               "body": "ARISA_NO_DUPE_MSG",
               "updateAuthor": "ocelotonesie",
               "created": "2022-03-22T13:37:27.718+0200",
               "updated": "2022-03-22T13:37:27.718+0200",
               "visibility": {
                  "type": "group",
                  "value": "staff"
               }
            }
         ],
         "maxResults": 1,
         "total": 1,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-16791/votes",
         "votes": 0,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 4,
      "total": 4,
      "histories": [
         {
            "id": "2543326",
            "author": "JIRAUSER470613",
            "created": "2022-03-21T17:43:22.947+0200",
            "items": [
               {
                  "field": "Attachment",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "475638",
                  "toString": "out1.mp4"
               }
            ]
         },
         {
            "id": "2543329",
            "author": "JIRAUSER470613",
            "created": "2022-03-21T17:47:02.925+0200",
            "items": [
               {
                  "field": "Attachment",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "475639",
                  "toString": "out1-1.mp4"
               },
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "When a player dies, it occasionally drops a custom item defined in custom behavior pack, even the player has an empty inventory.",
                  "to": null,
                  "toString": "I've defined a custom weapon in my behavior pack. But when I take the weapon on my main\u00a0 hand and is killed by others, I drop two same weapon (exactly same, even the durability remaining is equal). Meanwhile, sometimes it drops another weapon which I don't have in my inventory."
               },
               {
                  "field": "summary",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "Custom item occasionally duplicates",
                  "to": null,
                  "toString": "Custom weapons duplicate when a player is killed"
               }
            ]
         },
         {
            "id": "2543555",
            "author": "ocelotonesie",
            "created": "2022-03-22T13:37:27.724+0200",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "MCPE-153306",
                  "toString": "This issue duplicates MCPE-153306"
               }
            ]
         },
         {
            "id": "2543557",
            "author": "ocelotonesie",
            "created": "2022-03-22T13:37:27.727+0200",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "3",
                  "toString": "Duplicate"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         }
      ]
   }
}