Use runsafe item API to get item ID.
Remove unused Random variable.