The iron golems did not fell out of the world.
Step to reproduce:
Create flat world
Go down at position: 0 0 0
Go to chat then type /fill ~~~31~31~31~air
Spawn iron golem at any blocks
Result:
The iron golems do not fall of the world into void
Attachments
Comments 3
I'm unable to reproduce this issue when trying to clearing the air fill commands but stills falling in some iron golems, Are you using resource packs?
Your command syntax is broken - it isn't possible to test this.