{"action":"created","issue":{"url":"https://api.github.com/repos/SpongePowered/Sponge/issues/295","labels_url":"https://api.github.com/repos/SpongePowered/Sponge/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/SpongePowered/Sponge/issues/295/comments","events_url":"https://api.github.com/repos/SpongePowered/Sponge/issues/295/events","html_url":"https://github.com/SpongePowered/Sponge/issues/295","id":88933348,"number":295,"title":"Every event firing twice?","user":{"login":"theboomer","id":3393225,"avatar_url":"https://avatars.githubusercontent.com/u/3393225?v=3","gravatar_id":"","url":"https://api.github.com/users/theboomer","html_url":"https://github.com/theboomer","followers_url":"https://api.github.com/users/theboomer/followers","following_url":"https://api.github.com/users/theboomer/following{/other_user}","gists_url":"https://api.github.com/users/theboomer/gists{/gist_id}","starred_url":"https://api.github.com/users/theboomer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theboomer/subscriptions","organizations_url":"https://api.github.com/users/theboomer/orgs","repos_url":"https://api.github.com/users/theboomer/repos","events_url":"https://api.github.com/users/theboomer/events{/privacy}","received_events_url":"https://api.github.com/users/theboomer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-17T07:03:37Z","updated_at":"2015-06-21T14:26:39Z","closed_at":"2015-06-21T11:54:54Z","body":"I've written a dummy plugin that subscribes to every event in the api and sends its name to the logger - not programmatically, but explicitly: \r\n![Image of codesnip](http://s.mpserv.net/a4836c0dcbc624f180ec5c945ba5039a.png)\r\n\r\nI know that most events will trigger multiple ways due to player being a human being a living etc, so I expect to see a lot of events for each action.  Some events I have commented out (playerEvent, livingEvent, etc, due to genericness of them and console spam when moving around, OR due to crashing the server on start-up due to missing entirely), just to get an idea of what events are triggered AT THIS TIME for particular actions\r\n\r\nWhat I found shocking is that everything seems to fire each event TWICE,  I have posted a file on pastebin showing the output to console/log for various actions -- user types in chat, types a command, logs in, breaks a dirt block, drops from inventory, places a furnace block, places a chest, opens a chest, opens a furnace block...\r\nSee Pastebin link for these examples:  http://pastebin.com/V5xNgPbF\r\n\r\nIn all cases, every event in the 'chain' logs itself twice in a row, such as for example here\r\n=- drag away item from inventory \r\n PlayerDropItemEvent\r\n PlayerDropItemEvent\r\n HumanDropItemEvent\r\n HumanDropItemEvent\r\n LivingDropItemEvent\r\n LivingDropItemEvent\r\n EntityDropItemEvent\r\n EntityDropItemEvent\r\n ItemDropEvent\r\n ItemDropEvent\r\n\r\n\r\n\r\n==============\r\nCurrently using:\r\nForge forge-1.8-11.14.1.1397-universal.jar\r\nSponge file sponge-1.8-1446-2.1DEV-482.jar\r\nmaven-repo/dependancies\r\n\r\nDoubled behavior was seen with older sponge jars as well.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SpongePowered/Sponge/issues/comments/113907875","html_url":"https://github.com/SpongePowered/Sponge/issues/295#issuecomment-113907875","issue_url":"https://api.github.com/repos/SpongePowered/Sponge/issues/295","id":113907875,"user":{"login":"ST-DDT","id":1579362,"avatar_url":"https://avatars.githubusercontent.com/u/1579362?v=3","gravatar_id":"","url":"https://api.github.com/users/ST-DDT","html_url":"https://github.com/ST-DDT","followers_url":"https://api.github.com/users/ST-DDT/followers","following_url":"https://api.github.com/users/ST-DDT/following{/other_user}","gists_url":"https://api.github.com/users/ST-DDT/gists{/gist_id}","starred_url":"https://api.github.com/users/ST-DDT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ST-DDT/subscriptions","organizations_url":"https://api.github.com/users/ST-DDT/orgs","repos_url":"https://api.github.com/users/ST-DDT/repos","events_url":"https://api.github.com/users/ST-DDT/events{/privacy}","received_events_url":"https://api.github.com/users/ST-DDT/received_events","type":"User","site_admin":false},"created_at":"2015-06-21T14:26:39Z","updated_at":"2015-06-21T14:26:39Z","body":"Shouldn't we prevent multi registration because this is an invalid state?"}}