You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When teleporting between two separate worlds, a stack trace appears in console saying "cannot measure distance between worlds". I think it's because of the changes in this commit. Particularly this line:
if (to.equals(from) || to.distanceSquared(from) < 2)
I don't write plugins, but looking at the Bukkit API, it looks like you'd want to change that whole section to:
if (to.equals(from))
return;
else if (to.getWorld() == from.getWorld())
if (to.distanceSquared(from) < 2)
return;
Nice, sounds ok. Just to let you know, it turns out this bug does have a side effect - it breaks portals, people can't get to the Nether at all. I assume the End portals won't work as well, but I'll check and report back here.
Turns out end portals still work, it's just Nether portals that don't. Both send an error to console of course (as any teleport or teleport attempt does), but it's just Nether portals that break entirely.
When teleporting between two separate worlds, a stack trace appears in console saying "cannot measure distance between worlds". I think it's because of the changes in this commit. Particularly this line:
if (to.equals(from) || to.distanceSquared(from) < 2)
I don't write plugins, but looking at the Bukkit API, it looks like you'd want to change that whole section to:
Stacktrace.
The text was updated successfully, but these errors were encountered: