mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 21:17:32 +00:00
Rename for Clarity
This commit is contained in:
1 parent
8ab6e771cb
commit
c1257abdd7
3 files changed
+34
-27
No files matched your search
@@ -1517,6 +1517,10 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
|
||||
return ais.movingType != EnumMovingType.Standing || isAttacking() || isFollower() || getBoolFlag(1);
|
||||
}
|
||||
|
||||
public boolean isFlying() {
|
||||
return isWalking() && !onGround;
|
||||
}
|
||||
|
||||
public void setBoolFlag(boolean bo, int id) {
|
||||
int i = dataWatcher.getWatchableObjectInt(15);
|
||||
if (bo && (i & id) == 0)
|
||||
|
||||
Reference in new issue
Block a user