Prevented crash when right-clicking the aludel

Checks if the stack is null before attempting to get the item ID
Merge pull request #558 from klmDF14J/master

Prevented crash when right-clicking the aludel