{"action":"created","issue":{"url":"https://api.github.com/repos/GoMint/GoMint/issues/479","repository_url":"https://api.github.com/repos/GoMint/GoMint","labels_url":"https://api.github.com/repos/GoMint/GoMint/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/GoMint/GoMint/issues/479/comments","events_url":"https://api.github.com/repos/GoMint/GoMint/issues/479/events","html_url":"https://github.com/GoMint/GoMint/issues/479","id":393544546,"node_id":"MDU6SXNzdWUzOTM1NDQ1NDY=","number":479,"title":"`java.lang.Exception: null` when programmatically setting a player's gamemode","user":{"login":"HypertextPP","id":10724949,"node_id":"MDQ6VXNlcjEwNzI0OTQ5","avatar_url":"https://avatars2.githubusercontent.com/u/10724949?v=4","gravatar_id":"","url":"https://api.github.com/users/HypertextPP","html_url":"https://github.com/HypertextPP","followers_url":"https://api.github.com/users/HypertextPP/followers","following_url":"https://api.github.com/users/HypertextPP/following{/other_user}","gists_url":"https://api.github.com/users/HypertextPP/gists{/gist_id}","starred_url":"https://api.github.com/users/HypertextPP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HypertextPP/subscriptions","organizations_url":"https://api.github.com/users/HypertextPP/orgs","repos_url":"https://api.github.com/users/HypertextPP/repos","events_url":"https://api.github.com/users/HypertextPP/events{/privacy}","received_events_url":"https://api.github.com/users/HypertextPP/received_events","type":"User","site_admin":false},"labels":[{"id":1148409106,"node_id":"MDU6TGFiZWwxMTQ4NDA5MTA2","url":"https://api.github.com/repos/GoMint/GoMint/labels/cat7:%20internal","name":"cat7: internal","color":"1c1896","default":false},{"id":701374426,"node_id":"MDU6TGFiZWw3MDEzNzQ0MjY=","url":"https://api.github.com/repos/GoMint/GoMint/labels/comp3:%20server","name":"comp3: server","color":"96f7dd","default":false},{"id":1148343598,"node_id":"MDU6TGFiZWwxMTQ4MzQzNTk4","url":"https://api.github.com/repos/GoMint/GoMint/labels/effort6:%20cannot%20be%20determined","name":"effort6: cannot be determined","color":"252525","default":false},{"id":1148347404,"node_id":"MDU6TGFiZWwxMTQ4MzQ3NDA0","url":"https://api.github.com/repos/GoMint/GoMint/labels/frequency3:%20high","name":"frequency3: high","color":"f4bf38","default":false},{"id":1148379431,"node_id":"MDU6TGFiZWwxMTQ4Mzc5NDMx","url":"https://api.github.com/repos/GoMint/GoMint/labels/priority2:%20high","name":"priority2: high","color":"fc654e","default":false},{"id":1148366099,"node_id":"MDU6TGFiZWwxMTQ4MzY2MDk5","url":"https://api.github.com/repos/GoMint/GoMint/labels/type:%20bug","name":"type: bug","color":"1418e8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-21T18:03:19Z","updated_at":"2018-12-21T18:12:42Z","closed_at":null,"author_association":"NONE","body":"**Describe the bug**\r\nWhen setting a player's gamemode an exception is thrown and the player's gamemode is not changed.\r\n\r\n**To Reproduce**\r\n```java\r\nplayer.setGamemode(Gamemode.CREATIVE);\r\n```\r\n\r\n**Expected behavior**\r\nNo exception and a change of gamemode.\r\n\r\n**Screenshots**\r\nError:\r\n![image](https://user-images.githubusercontent.com/10724949/50356576-6e6f0880-054a-11e9-8a75-e09e1ca30593.png)\r\n\r\n**Additional context**\r\nI have confirmed (with the help of `System.out.println()`) that both the player and the gamemode are valid.\r\nI am using [build #35](http://ci.gomint.io/job/GoMint/job/master/35/)."},"comment":{"url":"https://api.github.com/repos/GoMint/GoMint/issues/comments/449459769","html_url":"https://github.com/GoMint/GoMint/issues/479#issuecomment-449459769","issue_url":"https://api.github.com/repos/GoMint/GoMint/issues/479","id":449459769,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTQ1OTc2OQ==","user":{"login":"Shad0wCore","id":17110757,"node_id":"MDQ6VXNlcjE3MTEwNzU3","avatar_url":"https://avatars0.githubusercontent.com/u/17110757?v=4","gravatar_id":"","url":"https://api.github.com/users/Shad0wCore","html_url":"https://github.com/Shad0wCore","followers_url":"https://api.github.com/users/Shad0wCore/followers","following_url":"https://api.github.com/users/Shad0wCore/following{/other_user}","gists_url":"https://api.github.com/users/Shad0wCore/gists{/gist_id}","starred_url":"https://api.github.com/users/Shad0wCore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shad0wCore/subscriptions","organizations_url":"https://api.github.com/users/Shad0wCore/orgs","repos_url":"https://api.github.com/users/Shad0wCore/repos","events_url":"https://api.github.com/users/Shad0wCore/events{/privacy}","received_events_url":"https://api.github.com/users/Shad0wCore/received_events","type":"User","site_admin":false},"created_at":"2018-12-21T18:12:42Z","updated_at":"2018-12-21T18:12:42Z","author_association":"CONTRIBUTOR","body":"Null pointers again. Great. I'm gonna investigate into this"}}
{"actor":{"display_login":"Shad0wCore"}}