{"action":"created","issue":{"url":"https://api.github.com/repos/iTXTech/Genisys/issues/1764","repository_url":"https://api.github.com/repos/iTXTech/Genisys","labels_url":"https://api.github.com/repos/iTXTech/Genisys/issues/1764/labels{/name}","comments_url":"https://api.github.com/repos/iTXTech/Genisys/issues/1764/comments","events_url":"https://api.github.com/repos/iTXTech/Genisys/issues/1764/events","html_url":"https://github.com/iTXTech/Genisys/issues/1764","id":172847949,"number":1764,"title":"FloatingTextParticle is not despawned from the player when changing worlds","user":{"login":"fuyutsuki","id":16377174,"avatar_url":"https://avatars.githubusercontent.com/u/16377174?v=3","gravatar_id":"","url":"https://api.github.com/users/fuyutsuki","html_url":"https://github.com/fuyutsuki","followers_url":"https://api.github.com/users/fuyutsuki/followers","following_url":"https://api.github.com/users/fuyutsuki/following{/other_user}","gists_url":"https://api.github.com/users/fuyutsuki/gists{/gist_id}","starred_url":"https://api.github.com/users/fuyutsuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fuyutsuki/subscriptions","organizations_url":"https://api.github.com/users/fuyutsuki/orgs","repos_url":"https://api.github.com/users/fuyutsuki/repos","events_url":"https://api.github.com/users/fuyutsuki/events{/privacy}","received_events_url":"https://api.github.com/users/fuyutsuki/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/iTXTech/Genisys/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-24T01:59:21Z","updated_at":"2016-08-25T14:30:21Z","closed_at":null,"body":"<!--- READ THE FOLLOWING CAREFULLY BEFORE OPENING THIS TICKET.\r\n- Any issues regarding outdated Genisys versions will be CLOSED. Make sure you can reproduce the issue on the latest build before submitting an issue.\r\n- Make sure you are using a build from the MASTER branch. Issues relating to non-production builds will be closed.\r\n- Any issues requesting updates to new versions of MCPE will be treated as spam. We do not need spamming with issues to know that there is a new version available.\r\n- SEARCH EXISTING ISSUES before you open a new one. This INCLUDES searching OUR issue tracker AND Mojang's issue tracker at https://bugs.mojang.com/browse/MCPE. Duplicate issues will be treated as spam and dealt with accordingly.\r\n- Issues not following this template will also be closed as spam. If you do not supply the information we ask for then your issue cannot be resolved.\r\n- Repeated spamming will result in a ban. You have been warned!\r\n-->\r\n\r\n#### Issue description\r\nServer::getLevelByName not working.\r\n\r\n#### Steps to reproduce the issue\r\nSpecify the world in the following plug-ins displaying the particle, but particles are displayed in all a Level.\r\n\r\n#### OS and versions\r\n<!---\r\nValid version must contain build number or git hash, \"latest\" is invalid. Use the 'version' command in Genisys.\r\nIf the version is invalid, the issue will be CLOSED\r\nGame versions include Pocket Edition and Windows 10 Edition Beta\r\n-->\r\n* Genisys: [master branch latest](https://github.com/iTXTech/Genisys/commit/9f1ee84fe36d16742a650fd001ba09091763a2c6)\r\n* PHP: 7.0.3\r\n* Server OS: win10 64bit\r\n* Game version:  0.15.6 PE/win10\r\n\r\n#### Crashdump, backtrace, memory dumps, plugins list or other files\r\n [ManyWorld v2.1.0] (https://github.com/Muirfield/ManyWorlds)\r\nplugin [text.zip](https://github.com/iTXTech/Genisys/files/433872/text.zip)\r\n```php\r\npublic function onJoin(PlayerJoinEvent $event){\r\n\t\t$player = $event->getPlayer();\r\n\r\n\t\t$this->getServer()->loadLevel(\"world\");\r\n\t\t$level1 = Server::getInstance()->getLevelByName(\"world\");\r\n\t\t$pos = new Vector3(\"128\", \"5\", \"128\");\r\n\t\t$particle = new FloatingTextParticle($pos, \"test1\", \"test1\");\r\n\t\t$level1->addParticle($particle, [$player]);\r\n\r\n\t\t$this->getServer()->loadLevel(\"test\");\r\n\t\t$level2 = Server::getInstance()->getLevelByName(\"test\");\r\n\t\t$pos = new Vector3(\"130\", \"5\", \"130\");\r\n\t\t$particle = new FloatingTextParticle($pos, \"test2\", \"test2\");\r\n\t\t$level2->addParticle($particle, [$player]);\r\n\t}\r\n```\r\n**Level in world**\r\n![img_2305](https://cloud.githubusercontent.com/assets/16377174/17915876/228829be-69e9-11e6-937f-d635037d4fe5.PNG)\r\n\r\n**Level in test**\r\n![img_2306](https://cloud.githubusercontent.com/assets/16377174/17915883/2ea684a2-69e9-11e6-9260-e027c1453130.PNG)"},"comment":{"url":"https://api.github.com/repos/iTXTech/Genisys/issues/comments/242407991","html_url":"https://github.com/iTXTech/Genisys/issues/1764#issuecomment-242407991","issue_url":"https://api.github.com/repos/iTXTech/Genisys/issues/1764","id":242407991,"user":{"login":"dktapps","id":14214667,"avatar_url":"https://avatars.githubusercontent.com/u/14214667?v=3","gravatar_id":"","url":"https://api.github.com/users/dktapps","html_url":"https://github.com/dktapps","followers_url":"https://api.github.com/users/dktapps/followers","following_url":"https://api.github.com/users/dktapps/following{/other_user}","gists_url":"https://api.github.com/users/dktapps/gists{/gist_id}","starred_url":"https://api.github.com/users/dktapps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dktapps/subscriptions","organizations_url":"https://api.github.com/users/dktapps/orgs","repos_url":"https://api.github.com/users/dktapps/repos","events_url":"https://api.github.com/users/dktapps/events{/privacy}","received_events_url":"https://api.github.com/users/dktapps/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T14:30:21Z","updated_at":"2016-08-25T14:30:21Z","body":"This isn't a client bug. It's due to the hacky nature of FloatingTextParticle and the way multiworld is handled."}}
{"actor":{"display_login":"dktapps"}}