mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-04 14:04:49 +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.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 a new issue