Fixed Herobrine path mover forcing Herobrine's lower body in to the block on which he is standing
This commit is contained in:
parent
a06903f174
commit
ec6276e1d9
@ -109,13 +109,13 @@ public class Path {
|
||||
}
|
||||
}
|
||||
|
||||
newloc.setY(world.getHighestBlockYAt(newloc) - 1);
|
||||
newloc.setY(world.getHighestBlockYAt(newloc) + 1);
|
||||
|
||||
if (world.getBlockAt(newloc).getType().isSolid()) {
|
||||
|
||||
newloc.setY(newloc.getWorld().getHighestBlockYAt(newloc) + 1.5f);
|
||||
PluginCore.HerobrineNPC.lookAtPoint(newloc);
|
||||
newloc.setY(newloc.getWorld().getHighestBlockYAt(newloc));
|
||||
newloc.setY(newloc.getWorld().getHighestBlockYAt(newloc) + 1);
|
||||
PluginCore.HerobrineNPC.moveTo(newloc);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user