mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 15:49:43 +00:00
Fly Comments Removed
This commit is contained in:
1 parent
28de96516d
commit
f1ea2ad961
3 files changed
+2
-4
No files matched your search
@@ -50,7 +50,7 @@ public class EntityAIWander extends EntityAIBase
|
||||
else{
|
||||
this.xPosition = vec.xCoord;
|
||||
this.yPosition = vec.yCoord;
|
||||
// FLY CHANGE
|
||||
|
||||
if(entity.canFly())
|
||||
this.yPosition = entity.getStartYPos() + entity.getRNG().nextFloat() * 0.75 * entity.ai.walkingRange;
|
||||
this.zPosition = vec.zCoord;
|
||||
|
||||
Reference in new issue
Block a user