mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 23:37:32 +00:00
Update AIMoveSpeed for CheckStuck
This commit is contained in:
1 parent
267bc8b239
commit
cd91636993
1 file changed
+1
@@ -29,6 +29,7 @@ public class FlyingMoveHelper extends EntityMoveHelper{
|
||||
|
||||
double speed = this.speed * this.entity.getEntityAttribute(SharedMonsterAttributes.movementSpeed).getAttributeValue();
|
||||
double verticalSpeed = this.speed * this.entity.ai.flySpeed/8.0D;
|
||||
this.entity.setAIMoveSpeed((float)speed);
|
||||
|
||||
double d0 = this.posX - this.entity.posX;
|
||||
double d1 = this.posY - this.entity.posY;
|
||||
|
||||
Reference in new issue
Block a user