mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-03 13:36:44 +01:00
Spiral teleporting! Wheeeee!
This commit is contained in:
parent
76d8016b32
commit
38c2103ff4
1 changed files with 2 additions and 0 deletions
|
@ -170,7 +170,9 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||
entity.a.e = newEntity;
|
||||
entity = newEntity;
|
||||
} else {
|
||||
oldWorld.manager.b(entity);
|
||||
entity.a.a(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch());
|
||||
newWorld.manager.a(entity);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue