Prevented crash when right-clicking the aludel

Checks if the stack is null before attempting to get the item ID