Change the way API functions are access, removing duplicate code.
Forgot to commit u.u
Merge branch 'master' of https://luacs1998@github.com/ForgeEssentials/ForgeEssentialsMain.git