Do not pass a nil itemstack to on_rightclick
Merge pull request #27 from Pilcrow182/patch-1

Do not pass a nil itemstack to on_rightclick