removed broken code due to removing files from Modding-API