Fixed a bug which caused players to be unable to log in
Added method onRightClick to the block definition class and implemented it in the workbench