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

@@ -1210,7 +1210,7 @@ public abstract class EntityLiving extends Entity {
}
public void die(DamageSource damagesource) {
if (!this.killed) {
if (!this.killed && !this.joinedWorld) { // Akarin
Entity entity = damagesource.getEntity();
EntityLiving entityliving = this.cv();