Posted August 23, 201510 yr Are there any restrictions when teleporting a player out of the End and back to the Overworld? Whenever I try that, the player gets teleported to the Overworld, but the world itself wont render. I guess this is related with the "Credits" that are suppose to run when someone leaves the end maybe? Because I have not problem with player comings from the Nether for example.
August 24, 201510 yr No, that isn't it. I'm guessing if you log the client out and back in, the world is rendered. In your teleport code, before you send the player back to the overworld, get a block from where the player will teleport to. It seems to send a packet or something that makes everything update. I saw someone mention this and I played around with it. On most teleports you are using a portal block, ect. that involves searching for blocks ect. That doesn't happen when you just straight up teleport without a portal. Using the one getblock call seems to solve the issue. Since I added it to my teleports, I have had zero of the non world loading issues. Long time Bukkit & Forge Programmer Happy to try and help
August 24, 201510 yr Author Thanks Delpi I will take a look around doing something of what you mention. The truth is that I'm working over the code that someone else did, so figuring this things out aren't easy for me And yes, when I log out and log in the world renders again with no problem. Thanks again for the answer, if I find a fix I will post again to let you know how it did
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.