mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-15 14:13:56 +01:00
Possibly fixed block/chunk leaking
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
defd90752e
commit
970239f979
1 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||
if (oldWorld != newWorld) {
|
||||
manager.c.k.a(entity);
|
||||
manager.c.k.b(entity);
|
||||
manager.d.b(entity);
|
||||
oldWorld.manager.b(entity);
|
||||
manager.b.remove(entity);
|
||||
oldWorld.e(entity);
|
||||
|
||||
|
@ -136,7 +136,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||
newWorld.A.d((int) location.getBlockX() >> 4, (int) location.getBlockZ() >> 4);
|
||||
|
||||
newEntity.a.a(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch());
|
||||
manager.d.a(newEntity);
|
||||
newWorld.manager.a(newEntity);
|
||||
newWorld.a(newEntity);
|
||||
manager.b.add(newEntity);
|
||||
newEntity.l();
|
||||
|
|
Loading…
Reference in a new issue