Forgot to disable a particle in 1.8

This commit is contained in:
Brianna 2019-05-27 08:41:01 -04:00
parent 8b70e0ff92
commit 6db5a4aafd

View File

@ -94,8 +94,12 @@ public class TeleportHandler {
location.add(.0, 1, .0);
location.setPitch(entity.getLocation().getPitch());
location.setDirection(entity.getLocation().getDirection());
Methods.doParticles(entity, location);
Methods.doParticles(entity, entity.getLocation().getBlock().getRelative(BlockFace.DOWN).getLocation());
if (instance.isServerVersionAtLeast(ServerVersion.V1_12)) {
Methods.doParticles(entity, location);
Methods.doParticles(entity, entity.getLocation().getBlock().getRelative(BlockFace.DOWN).getLocation());
}
entity.teleport(location);
if (instance.isServerVersionAtLeast(ServerVersion.V1_12))