Fix for item #1133

This fixes:
http://ae-mod.info/Tracker/1133/
What do you mean? What is it replaced by? I just saw that it was deprecated in the CI.