Fix tp command not removing entity across world.
This commit is contained in:
parent
0c4bac37be
commit
96d2f9eb7b
|
@ -85,6 +85,7 @@ public class TeleportCommandMixin {
|
||||||
entityIn.setLocationAndAngles(x, y, z, f1, f);
|
entityIn.setLocationAndAngles(x, y, z, f1, f);
|
||||||
entityIn.setRotationYawHead(f1);
|
entityIn.setRotationYawHead(f1);
|
||||||
worldIn.func_217460_e(entityIn);
|
worldIn.func_217460_e(entityIn);
|
||||||
|
entity.removed = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user