Fixes dead entity dupe

This commit is contained in:
Sotr
2019-03-07 19:41:53 +08:00
parent 6466aa2bdb
commit f0d08c4d3f
4 changed files with 5 additions and 2 deletions

View File

@@ -1550,6 +1550,7 @@ public abstract class World implements IEntityAccess, GeneratorAccess, IIBlockAc
return;
}
// CraftBukkit end
entity.joinedWorld = true; // Akarin
entity.N = entity.locX;
entity.O = entity.locY;
@@ -1622,6 +1623,7 @@ public abstract class World implements IEntityAccess, GeneratorAccess, IIBlockAc
}
}
}
entity.joinedWorld = false; // Akarin
}
// Paper start - Based on method below