Revert "Added compatibility patch for eluna"

This reverts commit c58d608f44bba23d0b2ee5e098601401625408bd.
Revert "Revert "Added compatibility patch for eluna""

This reverts commit f5025c50e53e8da4ea6202c1af4c262ad76d51a4.