Target default world when returning from The End; Fixes BUKKIT-3494

Due to the having to generate new logic to avoid using the customized
PlayerConnection.moveToWorld, entities returning from The End were not
properly calculating their exit target.  This commit corrects that
logic.
This commit is contained in:
EdGruberman
2013-01-24 17:37:01 -07:00
committed by feildmaster
parent 50e74b3b49
commit 132fdbc4ac
3 changed files with 15 additions and 7 deletions

View File

@@ -185,9 +185,9 @@ public class PortalTravelAgent {
// entity.setPositionRotation((double) i, (double) j, (double) k, entity.yaw, 0.0F);
// entity.motX = entity.motY = entity.motZ = 0.0D;
position.setPitch(0.0F);
position.setX(0);
position.setY(0);
position.setZ(0);
velocity.setX(0);
velocity.setY(0);
velocity.setZ(0);
} else {
double d4;
int k1;