Fixed a bug on GeneratorAltar.java