changes to BlockRightClickHook and DisconnectionHook