Multiple fixes to make this work again.

The tables need optimization, in fact the whole addOn needs a rewrite but for the time being this will make it work again. I mainly changed the mob detection and tables.