Fix tp command not removing entity across world.

This commit is contained in:
IzzelAliz 2020-06-02 15:02:19 +08:00 committed by GitHub
parent 0c4bac37be
commit 96d2f9eb7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,6 +85,7 @@ public class TeleportCommandMixin {
entityIn.setLocationAndAngles(x, y, z, f1, f);
entityIn.setRotationYawHead(f1);
worldIn.func_217460_e(entityIn);
entity.removed = true;
}
}