{"action":"opened","issue":{"url":"https://api.github.com/repos/boy0001/WorldeditRegions/issues/12","labels_url":"https://api.github.com/repos/boy0001/WorldeditRegions/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/boy0001/WorldeditRegions/issues/12/comments","events_url":"https://api.github.com/repos/boy0001/WorldeditRegions/issues/12/events","html_url":"https://github.com/boy0001/WorldeditRegions/issues/12","id":118231677,"number":12,"title":"/wrg sethome doesn't set Teleport region flag.","user":{"login":"CleanerOrc","id":10701369,"avatar_url":"https://avatars.githubusercontent.com/u/10701369?v=3","gravatar_id":"","url":"https://api.github.com/users/CleanerOrc","html_url":"https://github.com/CleanerOrc","followers_url":"https://api.github.com/users/CleanerOrc/followers","following_url":"https://api.github.com/users/CleanerOrc/following{/other_user}","gists_url":"https://api.github.com/users/CleanerOrc/gists{/gist_id}","starred_url":"https://api.github.com/users/CleanerOrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CleanerOrc/subscriptions","organizations_url":"https://api.github.com/users/CleanerOrc/orgs","repos_url":"https://api.github.com/users/CleanerOrc/repos","events_url":"https://api.github.com/users/CleanerOrc/events{/privacy}","received_events_url":"https://api.github.com/users/CleanerOrc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-22T01:12:43Z","updated_at":"2015-11-22T01:12:43Z","closed_at":null,"body":"Say, was looking thru code and maybe found problem with sethome... /wrg sethome prints a help message for /wrg trust instead of setting teleport flag in region.\r\n\r\n(?) Looks like \"/wrg sethome\" code tries to set the home location using a flag named \"location\", ie:\r\n\r\n     LocationFlag flag = new LocationFlag(\"location\");\r\n     ...\r\n      region.setFlag(flag, home);\r\n\r\nbut in the \"/wrg home\" code, it uses \"r.getFlag(new LocationFlag(\"teleport\"))\" to get a location from the \"teleport\" flag.\r\n\r\nIs it possible that the \"/wrg sethome\" code should use LocationFlag(\"teleport\") instead?\r\n\r\n Thanks - CO "}}