Core/Items: Fixed a transmogrify exploit

Thanks @Rochet2
Closes #11952