Fix HookUtil typos

The EssentialsHook wasn't working properly due to some types in HookUtil