mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-04 07:17:46 +01:00
Spiral teleporting! Wheeeee!
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
6280efc753
commit
3d06ec7a13
@ -170,7 +170,9 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||||||
entity.a.e = newEntity;
|
entity.a.e = newEntity;
|
||||||
entity = newEntity;
|
entity = newEntity;
|
||||||
} else {
|
} else {
|
||||||
|
oldWorld.manager.b(entity);
|
||||||
entity.a.a(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch());
|
entity.a.a(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch());
|
||||||
|
newWorld.manager.a(entity);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user