mirror of
https://github.com/songoda/EpicHoppers.git
synced 2025-02-17 04:11:31 +01:00
Forgot to disable a particle in 1.8
This commit is contained in:
parent
8b70e0ff92
commit
6db5a4aafd
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user