Fix for previous Java versions.
Merge pull request #167 from Clashnia/altars

Fix for previous Java versions.