Affects Version/s: Minecraft 1.7.9, Minecraft 1.8-pre1
Fix Version/s: None
The villagers behaviour changes after modifying daytime with a command. It happend when the night falls and the villagers start to get into houses.
If we change the night into day with a command at this moment, or at any moment of the night, the villagers will then get out of the houses normally like at daytime, and after the move that got them out, the next one will always be running into a house as if it was nighttime.
I saw other bug reports that seems to have the same effect, but when sleeping in a bed in survival. It might be the exact same thing.
After starting a new game, the bug don't seems to be effective as long as we don't change the night into day.
Also, if we kill all villagers and spawn new ones, the bug won't be effective as long as we don't change the night into day