{"action":"opened","issue":{"url":"https://api.github.com/repos/DenizenScript/Denizen-For-Bukkit/issues/974","labels_url":"https://api.github.com/repos/DenizenScript/Denizen-For-Bukkit/issues/974/labels{/name}","comments_url":"https://api.github.com/repos/DenizenScript/Denizen-For-Bukkit/issues/974/comments","events_url":"https://api.github.com/repos/DenizenScript/Denizen-For-Bukkit/issues/974/events","html_url":"https://github.com/DenizenScript/Denizen-For-Bukkit/issues/974","id":59811492,"number":974,"title":"Enderpearls teleport bypassing WorldGuard setting","user":{"login":"Xericore","id":10960057,"avatar_url":"https://avatars.githubusercontent.com/u/10960057?v=3","gravatar_id":"","url":"https://api.github.com/users/Xericore","html_url":"https://github.com/Xericore","followers_url":"https://api.github.com/users/Xericore/followers","following_url":"https://api.github.com/users/Xericore/following{/other_user}","gists_url":"https://api.github.com/users/Xericore/gists{/gist_id}","starred_url":"https://api.github.com/users/Xericore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xericore/subscriptions","organizations_url":"https://api.github.com/users/Xericore/orgs","repos_url":"https://api.github.com/users/Xericore/repos","events_url":"https://api.github.com/users/Xericore/events{/privacy}","received_events_url":"https://api.github.com/users/Xericore/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-04T15:16:22Z","updated_at":"2015-03-04T15:16:22Z","closed_at":null,"body":"BUG: WorldGuard region flag is overridden by Denizen.\r\nAs soon as this script is added to Denizen,\r\nenderpearls will teleport players regardless of the WorldGuard setting.\r\nTested with 0.9.6-SNAPSHOT (build 1567)\r\nThis script has been pasted to http://mcmonkey.org/haste/14217\r\n\r\nThe player doesn't have to enter the cuboid defined below. The cuboid doesn't have to exist.\r\nAll WorldGuard regions are affected by this.\r\n\r\nSteps to reproduce:\r\n0. Add this script to .../Denizen/scripts.\r\n1. Download any WorldGuard-6.0.0 build. Download WorldEdit as well.\r\n2. Select a region cuboid with the //wand tool\r\n3. Define a region with: /rg define myregion\r\n4. Deny enderpearls with: /rg flag myregion enderpearl deny\r\n5. Throw an enderpearl within the region.\r\n6. Notice WorldGuard messages: \"You're not allowed to go there.\". But the teleport still happens.\r\n7. Remove this script from .../Denizen/scripts. Enderpearls are now correctly denied within the region.\r\n\r\n\r\nThe actual script:\r\n\r\nenderpearl:\r\n  type: world\r\n\r\n  events:\r\n    on player enters ANY_STRING_HERE:\r\n    \r\n"}}